mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-07 07:59:49 +00:00
feat(starship): create plugin (#10947)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
8
plugins/starship/starship.plugin.zsh
Normal file
8
plugins/starship/starship.plugin.zsh
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user