diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-23 12:04:49 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-23 12:04:49 +0300 |
| commit | ddf3cfbf9b7cff20c99e7974076326bfcd2d1e2b (patch) | |
| tree | 8d648205cee8179359db7e39c74319693e507ae5 | |
| parent | a94fe90d8b6048a744407d5ad7d0cde262b1fc82 (diff) | |
fix
| -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 |
