From 4f93a4969dc199679cd7cf73dc042744224e0a25 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 23 Mar 2018 12:57:06 +0100 Subject: zsh: Enable kubectl completion --- zsh/.config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 1bc434c..5d7bc20 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -185,6 +185,11 @@ then fi fi +if [[ $commands[kubectl] ]] +then + source <(kubectl completion zsh) +fi + if [[ $TERM == "dumb" ]] then unsetopt zle -- cgit 1.4.1