dotfiles/zsh/.local/share/oh-my-zsh/plugins/starship/starship.plugin.zsh

8 lines
204 B
Bash

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