From 620ad4859ee7b3d8456d03bc4ef18467c140db3c Mon Sep 17 00:00:00 2001 From: Ansley Peduru Date: Sat, 11 Sep 2021 20:15:58 -0700 Subject: [PATCH] Swap placement of namespace and context for kube status --- config/fish/functions/__kube_status.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/fish/functions/__kube_status.fish b/config/fish/functions/__kube_status.fish index 8e6f6a5..62a8c33 100644 --- a/config/fish/functions/__kube_status.fish +++ b/config/fish/functions/__kube_status.fish @@ -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" @@ -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