1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

fix(starship): keep ZSH_THEME if not installed (#12309)

This commit is contained in:
Masaru Iritani 2024-03-30 16:25:34 +09:00 committed by GitHub
parent 1d09c6bb0a
commit 62a76353ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
if (( $+commands[starship] )); then
# 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'