Skip to content

Commit

Permalink
fix bug where fish completion for contexts would not terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
kfkonrad authored and sbstp committed Jul 22, 2022
1 parent fd38fcc commit 4097062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completion/kubie.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ complete -c kubie -n "$cmd help" -a "$commands"

# FIXME: This should take --kubeconfig into account
complete -c kubie -n "$cmd ctx delete edit exec; and __kubie_at_arg 1" -d 'context' \
-a '(kubie ctx 2>/dev/null)'
-a '(kubectl config get-contexts -o name)'

complete -c kubie -n "$cmd ctx ns" -l recursive -s r -d 'spawn a new recursive shell'

Expand Down

0 comments on commit 4097062

Please sign in to comment.