diff options
| -rw-r--r-- | dotfiles/fish/conf.d/k8s.fish | 2 |
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 |
