config(starship): minor improve
parent
d305698e49
commit
f3d7c37117
|
@ -12,10 +12,7 @@ $git_branch\
|
|||
$git_commit\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$package\
|
||||
$golang\
|
||||
$env_var\
|
||||
$custom\
|
||||
$sudo\
|
||||
$cmd_duration\
|
||||
$line_break\
|
||||
|
|
|
@ -229,6 +229,7 @@ fi
|
|||
# https://github.com/starship/starship
|
||||
if command -v starship &>/dev/null; then
|
||||
export STARSHIP_CONFIG="$HOME/.config/starship/starship.toml"
|
||||
export STARSHIP_LOG="error"
|
||||
eval "$(starship init zsh)"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue