Skip to content

Instantly share code, notes, and snippets.

@jeeftor
Created July 20, 2017 15:07
Show Gist options
  • Save jeeftor/87794a928f864e56a3454065c406c9d3 to your computer and use it in GitHub Desktop.
Save jeeftor/87794a928f864e56a3454065c406c9d3 to your computer and use it in GitHub Desktop.
Install Docker ZSH completions in PRETZO from Docker
#!/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