fix: kub commands using wrong fuzzy finder

This commit is contained in:
Daniel Flanagan 2025-03-26 16:38:00 -05:00
parent 713ac8a396
commit 03f0baea26
2 changed files with 2 additions and 2 deletions
lib/modules/home/scripts/common/bin

View file

@ -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 '{}'

View file

@ -8,5 +8,5 @@ kubectl get namespaces --show-labels | \
uniq | \
sort | \
cut -d ' ' -f1 | \
sk | \
fzf | \
xargs -I{} kubectl config set-context --current --namespace='{}'