Compare commits

...

2 commits

Author SHA1 Message Date
Danielle McLean
a3e784bd5e
Always override ZDOTDIR if it's just set to ~ 2023-06-27 14:33:40 +10:00
Danielle McLean
9a16f59378
Enable K8S context in Starship prompt 2023-06-27 14:33:14 +10:00
2 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,7 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = '$all$kubernetes$line_break$jobs$battery$time$status$os$container$shell$character'
[character]
success_symbol = "[](bold purple)"
vicmd_symbol = "[](bold purple)"
@ -38,6 +40,7 @@ style = "blue"
read_only = " 󰌾"
[docker_context]
format = "[$symbol$context]($style) "
symbol = " "
[elixir]
@ -82,6 +85,12 @@ symbol = " "
[julia]
symbol = " "
[kubernetes]
disabled = false
format = "[$symbol$context]($style) "
symbol = '󰠳 '
style = '33'
[lua]
symbol = " "
@ -98,7 +107,7 @@ symbol = "󰆥 "
symbol = " "
[nodejs]
format = "[$symbol($version )]($style)"
format = "[$symbol($version)]($style) "
symbol = " "
[os.symbols]
@ -143,13 +152,14 @@ Unknown = " "
Windows = "󰍲 "
[package]
format = "[$symbol($version)]($style) "
symbol = "󰏗 "
[perl]
symbol = " "
[php]
format = "[$symbol($version )]($style)"
format = "[$symbol($version)]($style) "
symbol = " "
[pijul_channel]

1
zshenv
View file

@ -28,4 +28,5 @@ fi
# The real zsh config lives in XDG_CONFIG_HOME! ;)
: ${ZDOTDIR:=$XDG_CONFIG_HOME/zsh}
[[ $ZDOTDIR = $HOME ]] && ZDOTDIR=$XDG_CONFIG_HOME/zsh
source $ZDOTDIR/zshenv