summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-13 23:49:05 +0300
committerPaul Buetow <paul@buetow.org>2025-08-13 23:49:05 +0300
commit5a3022cdfaa22ec22ef03f9518b87da9e24d29d6 (patch)
treed520c96f36ce01174fe57ec2260413ee4d22e795
parent12f52625918d0ec3abfa50e8b5ed65afaa39e34c (diff)
Update
-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