Last active
January 14, 2018 17:38
-
-
Save MartinAhrer/361035c46477ef3fd1877e8edd0e6773 to your computer and use it in GitHub Desktop.
docker-mac-zsh-completion
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
# Docker completion | |
fpath=( ~/.zshell/completion "${fpath[@]}" ) | |
autoload -Uz compinit && compinit -i |
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
mkdir -p $HOME/.zshell/completion | |
pushd $HOME/.zshell/completion | |
ln -s /Applications/Docker.app/Contents/Resources/etc/_docker-compose | |
ln -s /Applications/Docker.app/Contents/Resources/etc/_docker | |
ln -s /Applications/Docker.app/Contents/Resources/etc/_docker-machine | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment