dotfiles/zsh/zplug
James Patrick 40d8b3fdf3 Added simple theme for report server.
Its largely based on jackharrisonsherlock's common prompt, but has some
different namespacing, a deterministic prompt color based on the
hostname, and a few other minor changes.

My plan is to add async git info to this, but this is the MVP for this.
2019-12-20 10:09:45 -05:00

79 lines
1.4 KiB
Plaintext
Executable File

# vim: syn=zsh
source ${ZPLUG_HOME}/init.zsh
zplug "junegunn/fzf-bin", \
from:gh-r, \
as:command, \
rename-to:fzf
zplug "zdharma/zsh-diff-so-fancy", \
as:command, \
use:"bin/{git-dsf,diff-so-fancy}"
zplug "${ZDIR}/modules/bin/", \
from:local, \
as:command, \
use:"*"
zplug "zdharma/fast-syntax-highlighting", \
as:plugin, \
defer:2
zplug "hlissner/zsh-autopair", \
as:plugin, \
defer:2
zplug "zsh-users/zsh-history-substring-search", \
as:plugin, \
defer:2
zplug "zpm-zsh/autoenv", \
as:plugin, \
defer:2
zplug "zsh-users/zsh-autosuggestions", \
as:plugin, \
defer:2
zplug "junegunn/fzf", \
use:"shell/*.zsh", \
defer:2
zplug "${ZDIR}/modules/history/", \
from:local, \
as:plugin
zplug "${ZDIR}/modules/directory/", \
from:local, \
as:plugin
zplug "${ZDIR}/modules/complete/", \
from:local, \
as:plugin
zplug "${ZDIR}/modules/keybinds/", \
from:local, \
as:plugin
zplug "${ZDIR}/modules/alias/", \
from:local, \
as:plugin
if [ -z "$SSH_CONNECTION" ] ; then
zplug "${ZDIR}/modules/prompt/",\
from:local,\
use:uncommon.zsh, \
as:theme
else
zplug "denysdovhan/spaceship-prompt", \
use:spaceship.zsh, \
from:github, \
as:theme
fi
env_loader zplug
zplug load