summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--zsh/.config/zsh/.zshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 0816bbac..a26ff233 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/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] ]]