Last active
July 6, 2017 10:29
-
-
Save hostmaster/5535a140f8de7c5b1ca616e36568a720 to your computer and use it in GitHub Desktop.
Get Zsh completion on Docker Mac with https://github.com/tarjoilija/zgen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in /Applications/Docker.app/Contents/Resources//etc/*.zsh-completion; | |
do | |
ln -sf "$f" "$HOME/.zgen/_${$(basename $f)%.zsh-completion}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got this: ./zsh-docker-completion.sh: line 3:$HOME/.zgen/_$ {$(basename $f)%.zsh-completion}: bad substitution