Make sure completitions for zsh are available.

This commit is contained in:
Cyteen 2018-02-19 12:40:17 +00:00
parent 67e991f248
commit 059dff88e9
1 changed files with 9 additions and 0 deletions

View File

@ -113,3 +113,12 @@ apt-get install -yq -o -o DPkg::Options::=--force-confold --no-install-recommend
# apt-get upgrade -y -o DPkg::Options::=--force-confold && \
# apt-get install -y -o DPkg::Options::=--force-confold curl
# curl -L https://bootstrap.saltstack.com | sh -s -- -X git develop
# salt-common in debian is missing zsh completions
# source: https://github.com/saltstack/salt/tree/develop/pkg/ *.{bash,zsh}
# FYI: completition provided by salt-common pkg
test -e /usr/share/bash-completion/completions/salt-common || \
curl -sL "https://raw.githubusercontent.com/saltstack/salt/develop/pkg/salt.bash" | sudo tee /usr/share/bash-completion/completions/salt-common
test -e /usr/share/zsh/vendor-completions/_salt || \
curl -sL "https://raw.githubusercontent.com/saltstack/salt/develop/pkg/zsh_completion.zsh" | sudo tee /usr/share/zsh/vendor-completions/_salt