helm/shell/+zsh/.zshrc

36 lines
891 B
Bash
Raw Normal View History

2016-11-16 06:06:41 -08:00
#!/usr/bin/env zsh
# zshrc
2016-10-19 07:56:37 -07:00
# By Henrik Lissner <henrik@lissner.net>
2017-10-03 10:55:26 -07:00
if is-interactive; then
repo "tarjoilija/zgen" "$HOME/.zgen"
source "$HOME/.zgen/zgen.zsh"
if ! zgen saved; then
info "Creating zgen save"
2016-10-19 07:56:37 -07:00
2017-10-03 10:55:26 -07:00
cache-clear
2016-10-19 07:56:37 -07:00
2017-10-03 10:55:26 -07:00
zgen load hlissner/zsh-autopair "autopair.zsh"
zgen load zsh-users/zsh-history-substring-search
zgen load zdharma/history-search-multi-word
zgen load zsh-users/zsh-completions src
2016-10-19 07:56:37 -07:00
2017-10-03 10:55:26 -07:00
if [[ -z $SSH_CONNECTION ]]; then
zgen load zdharma/fast-syntax-highlighting
fi
2016-10-19 07:56:37 -07:00
2017-10-03 10:55:26 -07:00
zgen save
fi
2016-10-19 07:56:37 -07:00
2017-04-25 20:27:03 -07:00
load shell/+zsh/completion.zsh
load shell/+zsh/keybinds.zsh
load shell/+zsh/prompt.zsh
2017-04-23 21:26:33 -07:00
cache fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install
2016-12-16 15:32:44 -08:00
fi
loadall aliases.zsh
2016-10-30 06:28:55 -07:00
[[ -f "$HOME/.zshrc.local" ]] && source "$HOME/.zshrc.local"
2016-10-19 07:56:37 -07:00
# Done!