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' "$schema" = 'https://starship.rs/config-schema.json'
format = '$all$kubernetes$line_break$jobs$battery$time$status$os$container$shell$character'
[character] [character]
success_symbol = "[](bold purple)" success_symbol = "[](bold purple)"
vicmd_symbol = "[](bold purple)" vicmd_symbol = "[](bold purple)"
@ -38,6 +40,7 @@ style = "blue"
read_only = " 󰌾" read_only = " 󰌾"
[docker_context] [docker_context]
format = "[$symbol$context]($style) "
symbol = " " symbol = " "
[elixir] [elixir]
@ -82,6 +85,12 @@ symbol = " "
[julia] [julia]
symbol = " " symbol = " "
[kubernetes]
disabled = false
format = "[$symbol$context]($style) "
symbol = '󰠳 '
style = '33'
[lua] [lua]
symbol = " " symbol = " "
@ -143,6 +152,7 @@ Unknown = " "
Windows = "󰍲 " Windows = "󰍲 "
[package] [package]
format = "[$symbol($version)]($style) "
symbol = "󰏗 " symbol = "󰏗 "
[perl] [perl]

1
zshenv
View file

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