Include starship in .zshrc / znap prompt

This commit is contained in:
David Holland 2021-09-26 19:21:31 +02:00
parent 38c3403101
commit a5cba8df97
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
1 changed files with 5 additions and 1 deletions

6
.zshrc
View File

@ -38,7 +38,11 @@ if [[ -a $ZNAP_ZSH ]]; then
znap source ohmyzsh/ohmyzsh lib/{git,theme-and-appearance,colored-man-pages,colorzie,command-not-found,history}
znap prompt dustvoice/dustvoice-zsh-theme
if [ -x "$(command -v starship)" ]; then
znap eval starship 'starship init zsh --print-full-init'
else
znap prompt dustvoice/dustvoice-zsh-theme
fi
znap source marlonrichert/zsh-hist