all repos — nixfiles @ 4f93a4969dc199679cd7cf73dc042744224e0a25

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

zsh: Enable kubectl completion

Alan Pearce
commit

4f93a4969dc199679cd7cf73dc042744224e0a25

parent

9f519f764c69b7e41d54d4ba03c3fb851fec4fd9

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -185,6 +185,11 @@ . $LUNCHY_DIR/lunchy-completion.zsh
fi fi +if [[ $commands[kubectl] ]] +then + source <(kubectl completion zsh) +fi + if [[ $TERM == "dumb" ]] then unsetopt zle