mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
fix(starship): keep ZSH_THEME if not installed (#12309)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# ignore oh-my-zsh theme
|
||||
unset ZSH_THEME
|
||||
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user