mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
fix(starship): keep ZSH_THEME
if not installed (#12309)
This commit is contained in:
parent
1d09c6bb0a
commit
62a76353ab
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# ignore oh-my-zsh theme
|
|
||||||
unset ZSH_THEME
|
|
||||||
|
|
||||||
if (( $+commands[starship] )); then
|
if (( $+commands[starship] )); then
|
||||||
|
# ignore oh-my-zsh theme
|
||||||
|
unset ZSH_THEME
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
else
|
else
|
||||||
echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
|
echo '[oh-my-zsh] starship not found, please install it from https://starship.rs'
|
||||||
|
|
Loading…
Reference in a new issue