diff --git a/zsh/zshrc b/zsh/zshrc index 09275c5..599fc7b 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -47,8 +47,8 @@ if [[ -d ~/.cargo/bin ]]; then export PATH="$HOME/.cargo/bin:$PATH" fi -if [[ -e ~/.cargo/bin/starship ]]; then - eval "$(~/.cargo/bin/starship init zsh)" +if [[ $(whence -p starship 2> /dev/null) ]]; then + eval "$(starship init zsh)" else antibody bundle denysdovhan/spaceship-prompt fi