Skip to content

Commit

Permalink
Revert commit 4097062 (#161)
Browse files Browse the repository at this point in the history
This commit breaks tab completion for contexts outside the KUBECONFIG file
  • Loading branch information
evilhamsterman committed Aug 23, 2023
1 parent 58888f6 commit 5be5390
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 '(kubectl config get-contexts -o name)'
-a '(kubie ctx 2> /dev/null)'

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

Expand Down

0 comments on commit 5be5390

Please sign in to comment.