1
0
Fork 0

fish: get rid of starship, bring custom prompt back

This commit is contained in:
Von Random 2025-01-10 13:56:25 +02:00
parent 83bcd5952f
commit f323956d2b
10 changed files with 97 additions and 2 deletions

View file

@ -0,0 +1,8 @@
function fish_prompt.kube
if ! test -r "$kube_config"
return
end
fish_prompt.add "$kube_symbol"
set -l kube_context (awk -F- '($1 == "current") {print $3}' "$kube_config")
fish_prompt.add "$kube_context" green
end