Skip to content

Instantly share code, notes, and snippets.

@detunized
Created August 12, 2017 08:13
Show Gist options
  • Save detunized/89484dd690403be952a86476550ad0ca to your computer and use it in GitHub Desktop.
Save detunized/89484dd690403be952a86476550ad0ca to your computer and use it in GitHub Desktop.
Zplug zshrc
# Aliases
alias ll='ls -lha'
# Zplug is managed by Homebrew
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh
# Prezto
zplug "modules/environment", from:prezto
zplug "modules/completion", from:prezto
zplug "modules/directory", from:prezto
zplug "modules/history", from:prezto
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-history-substring-search", defer:2
zplug "zsh-users/zsh-syntax-highlighting", defer:2
zplug "supercrabtree/k"
zplug "/usr/local/share/zsh/site-functions", from:local, use:"*", defer:2
# Pure theme (zsh-async is required by pure)
zplug "mafredri/zsh-async", from:github
zplug "sindresorhus/pure", use:"pure.zsh", as:theme
#zplug "modules/utility", from:prezto
# 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
zplug load --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment