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