literate-dotfiles/zsh.org

1.3 KiB

ZSH Config

https://github.com/unixorn/awesome-zsh-plugins

Zplug

https://github.com/zplug/zplug

source ~/.zplug/init.zsh

zplug mafredri/zsh-async, from:github
zplug sindresorhus/pure, use:pure.zsh, from:github, as:theme

# Install plugins if there are plugins that have not been installed
if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

# Then, source plugins and add commands to $PATH
zplug load --verbose