2023-04-21 14:59:58 +08:00
|
|
|
if (( $+commands[starship] )); then
|
2024-03-30 15:25:34 +08:00
|
|
|
# ignore oh-my-zsh theme
|
|
|
|
unset ZSH_THEME
|
|
|
|
|
2023-04-21 14:59:58 +08:00
|
|
|
eval "$(starship init zsh)"
|
|
|
|
else
|
|
|
|
echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
|
|
|
|
fi
|