Skip to content

Instantly share code, notes, and snippets.

@nizmow
Created April 8, 2019 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nizmow/abc8d98f6ed89c59478226899f65bb84 to your computer and use it in GitHub Desktop.
Save nizmow/abc8d98f6ed89c59478226899f65bb84 to your computer and use it in GitHub Desktop.
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
fi
source ~/.zplug/init.zsh
zplug "zplug/zplug"
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-history-substring-search"
zplug "mafredri/zsh-async", from:github, defer:0
#zplug "sindresorhus/pure", use:pure.zsh, from:github, as:theme
zplug "therealklanni/purity", use:purity.zsh, as:theme
# enhanced file listings with git and fanciness
zplug "supercrabtree/k"
# new fancy cd command
zplug "b4b4r07/enhancd", use:init.sh
zplug load
# Actually install plugins, prompt user input
if ! zplug check --verbose; then
printf "Install zplug plugins? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
# paths and other nonsense
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment