using startship when it is installedw

This commit is contained in:
2026-01-21 14:13:22 +08:00
parent 15749221e5
commit 429f8fc2d6

View File

@@ -77,4 +77,8 @@ function cdi() {
}
# using starship as prompt
eval "$(starship init zsh)"
if (( $+commands[starship] )); then
eval "$(starship init zsh)"
else
echo '[starship] not found, please install it.'
fi