mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
feat(starship): create plugin (#10947)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
This commit is contained in:
parent
91c7ed45a3
commit
07454029bd
3 changed files with 30 additions and 0 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue