diff options
-rw-r--r-- | user/settings/zsh.nix | 2 | ||||
-rw-r--r-- | user/zsh/.config/zsh/.zshrc | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index a2c14586..5966928d 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -268,6 +268,8 @@ in source ${pkgs.fzf}/share/fzf/key-bindings.zsh + source ${pkgs.google-cloud-sdk}/google-cloud-sdk/completion.zsh.inc + '' + builtins.readFile ../zsh/.config/zsh/.zshrc; }; } diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc index fdc6b108..f20c3825 100644 --- a/user/zsh/.config/zsh/.zshrc +++ b/user/zsh/.config/zsh/.zshrc @@ -68,13 +68,6 @@ zstyle ':completion:*' completer _expand _complete _match # Plugins -if [[ -n $commands[gcloud] ]] -then - autoload bashcompinit - bashcompinit - source ${$(readlink =gcloud):h}/../etc/bash_completion.d/gcloud.inc -fi - if [[ -n $commands[helm] ]] then autoload _helm |