feat: load Starship instead of Pure if it's available

This commit is contained in:
Danielle McLean 2021-05-04 09:56:51 +10:00
parent f54e89b435
commit dba0d5ab99
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -14,7 +14,12 @@ zinit $load willghatch/zsh-saneopt
zinit $load mafredri/zsh-async
zinit $load rupa/z
zinit $load sindresorhus/pure
if (( $+commands[starship] )); then
source <(starship init zsh --print-full-init)
else
zinit $load sindresorhus/pure
fi
zinit ice nocompile:! pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh'
zinit $load trapd00r/LS_COLORS