summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/fish/conf.d/k8s.fish6
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