dotfiles/home/.zshrc

42 lines
1.2 KiB
Bash
Raw Normal View History

2018-10-20 18:39:31 +00:00
[ -s "$HOME/.zshenv" ] && source $HOME/.zshenv
2012-07-28 17:01:15 +00:00
2018-10-20 18:39:31 +00:00
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
fi
source ~/.zplug/init.zsh
2012-07-28 17:01:15 +00:00
2018-10-20 18:39:31 +00:00
zplug "zplug/zplug", hook-build:'zplug --self-manage'
2012-07-28 17:01:15 +00:00
2018-10-20 18:39:31 +00:00
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
zplug "b4b4r07/enhancd", use:init.sh
if zplug check "b4b4r07/enhancd"; then
export ENHANCD_FILTER="fzf --height 50% --reverse --ansi"
export ENHANCD_DOT_SHOW_FULLPATH=1
fi
zplug "lib/completion", from:oh-my-zsh
zplug "lib/directories", from:oh-my-zsh
zplug "lib/grep", from:oh-my-zsh
zplug "lib/history", from:oh-my-zsh
zplug "lib/termsupport", from:oh-my-zsh
zplug "plugins/asdf", from:oh-my-zsh
zplug "plugins/bundler", from:oh-my-zsh
zplug "plugins/docker", from:oh-my-zsh
zplug "plugins/git", from:oh-my-zsh
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting", defer:2
if [[ $OSTYPE == *darwin* ]]; then
zplug "plugins/osx", from:oh-my-zsh
zplug "plugins/pass", from:oh-my-zsh
fi
zplug "~/.zsh/themes", from:local, use:cheetah.zsh-theme, as:theme
[ -s "$HOME/.zsh.local" ] && source $HOME/.zsh.local
zplug check || zplug install
zplug load