1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-05 01:33:37 +08:00
ohmyzsh/plugins/starship/starship.plugin.zsh
Andrew Xie 07454029bd
feat(starship): create plugin (#10947)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-21 08:59:58 +02:00

9 lines
200 B
Bash

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