zsh: Setup gcloud completion
Alan Pearce alan@alanpearce.eu
Thu, 07 Jun 2018 16:54:53 +0200
1 files changed, 7 insertions(+), 0 deletions(-)
jump to
M zsh/.config/zsh/.zshrc → zsh/.config/zsh/.zshrc
@@ -163,6 +163,13 @@ fi zplugin ice atinit 'zpcompinit; zpcdreplay -q' +if [[ -n $commands[gcloud] ]] +then + autoload bashcompinit + bashcompinit + source ${$(readlink =gcloud):h}/../etc/bash_completion.d/gcloud.inc +fi + # General configuration if [[ -n $commands[gpg2] && -z $commands[gpg] ]]