feat: load Starship instead of Pure if it's available
This commit is contained in:
parent
f54e89b435
commit
dba0d5ab99
1 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,12 @@ zinit $load willghatch/zsh-saneopt
|
||||||
|
|
||||||
zinit $load mafredri/zsh-async
|
zinit $load mafredri/zsh-async
|
||||||
zinit $load rupa/z
|
zinit $load rupa/z
|
||||||
|
|
||||||
|
if (( $+commands[starship] )); then
|
||||||
|
source <(starship init zsh --print-full-init)
|
||||||
|
else
|
||||||
zinit $load sindresorhus/pure
|
zinit $load sindresorhus/pure
|
||||||
|
fi
|
||||||
|
|
||||||
zinit ice nocompile:! pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh'
|
zinit ice nocompile:! pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh'
|
||||||
zinit $load trapd00r/LS_COLORS
|
zinit $load trapd00r/LS_COLORS
|
||||||
|
|
Loading…
Reference in a new issue