Created
July 20, 2017 15:07
-
-
Save jeeftor/87794a928f864e56a3454065c406c9d3 to your computer and use it in GitHub Desktop.
Install Docker ZSH completions in PRETZO from Docker
This file contains 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
#!/bin/zsh | |
for f in /Applications/Docker.app/Contents/Resources//etc/*.zsh-completion; | |
do | |
ln -sf "$f" "$HOME/.zprezto/modules/completion/external/src/_${$(basename $f)%.zsh-completion}" | |
done | |
# Regen all the completions | |
rm -f ~/.zcompdump; compinit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment