1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 09:22:26 +08:00
ohmyzsh/plugins/starship/starship.plugin.zsh

9 lines
204 B
Bash
Raw Normal View History

if (( $+commands[starship] )); then
# ignore oh-my-zsh theme
unset ZSH_THEME
eval "$(starship init zsh)"
else
echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
fi