all repos — nixfiles @ e790af5945e38ab65fb75c105ad292b8da440d34

System and user configuration, managed by nix and home-manager

Simplify gcloud completion setup

Alan Pearce
commit

e790af5945e38ab65fb75c105ad292b8da440d34

parent

29ad3be5d41963493ab36341cb6a058099757535

2 files changed, 2 insertions(+), 7 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -268,6 +268,8 @@ }
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; }; }
M user/zsh/.config/zsh/.zshrcuser/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