Fix Docker auto Completion Install
This commit is contained in:
parent
7f629d5425
commit
14ff455982
@ -17,6 +17,9 @@ base=https://github.com/docker/machine/releases/download/v0.14.0 &&
|
||||
sudo install /tmp/docker-machine /usr/local/bin/docker-machine
|
||||
|
||||
echo "\nInstalling ZSH Docker Compose auto completion\n"
|
||||
mkdir -p ~/.zsh/completion
|
||||
curl -L https://raw.githubusercontent.com/docker/compose/1.21.0/contrib/completion/zsh/_docker-compose > ~/.zsh/completion/_docker-compose
|
||||
curl -L https://raw.githubusercontent.com/docker/machine/v0.14.0/contrib/completion/zsh/_docker-machine > ~/.zsh/completion/_docker-machine
|
||||
echo "fpath=(~/.zsh/completion $fpath)" >> ~/.zshrc
|
||||
echo "autoload -Uz compinit && compinit -i" >> ~/.zshrc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user