Configuration files

zsh: only load `starship` prompt when `starship` is available

Changed files
+6 -1
+6 -1
.zshrc
··· 32 export PATH=~/.zvm/bin:$PATH 33 export PATH=~/.local/bin:$PATH 34 35 - eval "$(starship init zsh)" 36 eval "$(zoxide init zsh --cmd cd)" 37 export GPG_TTY=$(tty) 38 export EDITOR='emacs -nw' 39 export MANPAGER="sh -c 'col -xbf | bat -p -l man'"
··· 32 export PATH=~/.zvm/bin:$PATH 33 export PATH=~/.local/bin:$PATH 34 35 eval "$(zoxide init zsh --cmd cd)" 36 + if [ -x "$(which starship)" ]; then 37 + eval "$(starship init zsh)" 38 + else 39 + echo "starship not in path" 40 + fi 41 + 42 export GPG_TTY=$(tty) 43 export EDITOR='emacs -nw' 44 export MANPAGER="sh -c 'col -xbf | bat -p -l man'"