diff --git a/config/zsh/zinit b/config/zsh/zinit index 648ad65..80af74f 100644 --- a/config/zsh/zinit +++ b/config/zsh/zinit @@ -14,10 +14,14 @@ zinit $load willghatch/zsh-saneopt zinit $load mafredri/zsh-async zinit $load rupa/z -zinit $load sindresorhus/pure -zinit ice nocompile:! pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh' -zinit $load trapd00r/LS_COLORS +if (( $+commands[starship] )); then + source <(starship init zsh --print-full-init) +else + zinit $load sindresorhus/pure +fi + +zinit pack:no-dir-color-swap for ls_colors zinit ice silent wait:1 atload:_zsh_autosuggest_start zinit $load zsh-users/zsh-autosuggestions