Skip to content

Instantly share code, notes, and snippets.

@MartinAhrer
Last active January 14, 2018 17:38
Show Gist options
  • Save MartinAhrer/361035c46477ef3fd1877e8edd0e6773 to your computer and use it in GitHub Desktop.
Save MartinAhrer/361035c46477ef3fd1877e8edd0e6773 to your computer and use it in GitHub Desktop.
docker-mac-zsh-completion
# Docker completion
fpath=( ~/.zshell/completion "${fpath[@]}" )
autoload -Uz compinit && compinit -i
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