diff options
| -rw-r--r-- | dotfiles/fish/conf.d/k8s.fish | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dotfiles/fish/conf.d/k8s.fish b/dotfiles/fish/conf.d/k8s.fish index 2328d3d..51c0724 100644 --- a/dotfiles/fish/conf.d/k8s.fish +++ b/dotfiles/fish/conf.d/k8s.fish @@ -1,5 +1,7 @@ -if command -q -v kubectl >/dev/null - kubectl completion fish | source +function kcompletions + if command -q -v kubectl >/dev/null + kubectl completion fish | source + end end # Check if the directory $HOME/.krew exists and update PATH |
