summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-23 12:04:49 +0300
committerPaul Buetow <paul@buetow.org>2025-04-23 12:04:49 +0300
commitddf3cfbf9b7cff20c99e7974076326bfcd2d1e2b (patch)
tree8d648205cee8179359db7e39c74319693e507ae5
parenta94fe90d8b6048a744407d5ad7d0cde262b1fc82 (diff)
fix
-rw-r--r--dotfiles/fish/conf.d/k8s.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/fish/conf.d/k8s.fish b/dotfiles/fish/conf.d/k8s.fish
index c5dab1c..2328d3d 100644
--- a/dotfiles/fish/conf.d/k8s.fish
+++ b/dotfiles/fish/conf.d/k8s.fish
@@ -12,7 +12,7 @@ function kpod
if test -n "$argv[1]"
set pattern "$argv[1]"
end
- set -x POD (kubectl get pods | grep "$pattern" | sort -R | head -n 1 | cut -d' ' -f1)
+ set -gx POD (kubectl get pods | grep "$pattern" | sort -R | head -n 1 | cut -d' ' -f1)
echo "Pod is $POD"
end