helm/zshrc

39 lines
1,006 B
Bash
Raw Normal View History

2015-06-19 07:04:48 -07:00
### zshrc
# By Henrik Lissner <henrik@lissner.net>
2015-01-20 00:00:13 -08:00
2015-12-20 20:39:11 -08:00
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
ZSH_PLUGINS_ALIAS_TIPS_EXPAND=1
ZGEN_AUTOLOAD_COMPINIT=true
[[ "${USER}" == "root" ]] && ZGEN_AUTOLOAD_COMPINIT=false
load zsh/zgen/zgen.zsh
if ! zgen saved; then
echo "Creating zgen save"
[[ -d "$CACHE_DIR" ]] && rm -f "$CACHE_DIR/*"
zgen load StackExchange/blackbox
zgen load thewtex/tmux-mem-cpu-load
zgen load joepvd/zsh-hints
zgen load unixorn/git-extra-commands
zgen load hlissner/zsh-autopair "autopair.zsh"
zgen load zsh-users/zsh-history-substring-search
zgen load zsh-users/zsh-completions src
2015-12-21 00:11:28 -08:00
is-ssh || zgen load zsh-users/zsh-syntax-highlighting
2015-12-20 20:39:11 -08:00
zgen save
fi
2015-06-19 07:04:48 -07:00
2015-12-20 20:39:11 -08:00
cache rbenv init - --no-rehash
cache pyenv init - --no-rehash
2015-12-21 00:11:28 -08:00
is-interactive && cache fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install
2015-01-20 00:00:13 -08:00
2015-12-21 00:11:28 -08:00
iload zsh/fzf
2015-12-20 20:39:11 -08:00
load zsh/config
iload zsh/keybinds
iload zsh/prompt
load zsh/aliases
iload zsh/completion
2015-05-07 12:16:04 -07:00
2015-06-19 07:03:05 -07:00
# Done!