Skip to content

Commit

Permalink
Swap placement of namespace and context for kube status
Browse files Browse the repository at this point in the history
  • Loading branch information
apeduru committed Sep 12, 2021
1 parent e459b0f commit 620ad48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/fish/functions/__kube_status.fish
Expand Up @@ -3,8 +3,8 @@ function __kube_status
set -g lblue (set_color 00AAFF)
set -g grey (set_color 878787)

set -g __on $grey"on "
set -g __in $grey" in "
set -g __on $grey" on "
set -g __in $grey"in "

set -g __kube_config "$HOME/.kube/config"

Expand All @@ -22,5 +22,5 @@ function __kube_status
[ -z $__namespace ]; and set -g __namespace $lblue'default'
end

echo -n -s $__on $__context $__in $__namespace
echo -n -s $__in $__namespace $__on $__context
end

0 comments on commit 620ad48

Please sign in to comment.