config(starship): minor improve

main
sudo pacman -Syu 2025-01-19 11:13:59 +07:00
parent d305698e49
commit f3d7c37117
2 changed files with 1 additions and 3 deletions

View File

@ -12,10 +12,7 @@ $git_branch\
$git_commit\
$git_state\
$git_status\
$package\
$golang\
$env_var\
$custom\
$sudo\
$cmd_duration\
$line_break\

View File

@ -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