fix: kub commands using wrong fuzzy finder
This commit is contained in:
parent
713ac8a396
commit
03f0baea26
2 changed files with 2 additions and 2 deletions
|
@ -5,5 +5,5 @@ kubectl config get-contexts --no-headers | \
|
|||
tr -s ' ' | \
|
||||
sed -E 's/^\*?[[:space:]]*//g' | \
|
||||
cut -d ' ' -f1 | \
|
||||
sk | \
|
||||
fzf | \
|
||||
xargs -I{} kubectl config use-context '{}'
|
||||
|
|
|
@ -8,5 +8,5 @@ kubectl get namespaces --show-labels | \
|
|||
uniq | \
|
||||
sort | \
|
||||
cut -d ' ' -f1 | \
|
||||
sk | \
|
||||
fzf | \
|
||||
xargs -I{} kubectl config set-context --current --namespace='{}'
|
||||
|
|
Loading…
Add table
Reference in a new issue