diff options
author | Alan Pearce | 2018-03-23 12:57:06 +0100 |
---|---|---|
committer | Alan Pearce | 2018-03-23 12:57:06 +0100 |
commit | 4f93a4969dc199679cd7cf73dc042744224e0a25 (patch) | |
tree | 026806bcaaf523f462fbb97508aad2943fde3b51 | |
parent | 9f519f764c69b7e41d54d4ba03c3fb851fec4fd9 (diff) | |
download | dotfiles-4f93a4969dc199679cd7cf73dc042744224e0a25.tar.lz dotfiles-4f93a4969dc199679cd7cf73dc042744224e0a25.tar.zst dotfiles-4f93a4969dc199679cd7cf73dc042744224e0a25.zip |
zsh: Enable kubectl completion
-rw-r--r-- | zsh/.config/zsh/.zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
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 |