Skip to content

Instantly share code, notes, and snippets.

@hostmaster
Last active July 6, 2017 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hostmaster/5535a140f8de7c5b1ca616e36568a720 to your computer and use it in GitHub Desktop.
Save hostmaster/5535a140f8de7c5b1ca616e36568a720 to your computer and use it in GitHub Desktop.
Get Zsh completion on Docker Mac with https://github.com/tarjoilija/zgen
for f in /Applications/Docker.app/Contents/Resources//etc/*.zsh-completion;
do
ln -sf "$f" "$HOME/.zgen/_${$(basename $f)%.zsh-completion}"
done
@rmsj
Copy link

rmsj commented Jul 6, 2017

Got this: ./zsh-docker-completion.sh: line 3: $HOME/.zgen/_${$(basename $f)%.zsh-completion}: bad substitution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment