jpweber
10/30/2017 - 6:50 PM

right side fish prompt with kubctl context name

right side fish prompt with kubctl context name

function fish_right_prompt
  set -l k8s_color (set_color purple)
  set -l k8s_context (kubectl config current-context)

  echo -e -n -s $k8s_color "[$k8s_context]"
end