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>
|
|
|
|
|
|
|
|
repo "tarjoilija/zgen" "$HOME/.zgen"
|
|
|
|
|
2016-11-16 06:06:41 -08:00
|
|
|
load shell/zsh/aliases.zsh
|
|
|
|
load shell/zsh/config.zsh
|
|
|
|
if is-interactive; then
|
|
|
|
load shell/zsh/completion.zsh
|
|
|
|
load shell/zsh/keybinds.zsh
|
|
|
|
load shell/zsh/prompt.zsh
|
|
|
|
fi
|
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
source "$HOME/.zgen/zgen.zsh"
|
2016-11-10 09:37:01 -08:00
|
|
|
if ! zgen saved; then
|
2016-10-19 07:56:37 -07:00
|
|
|
info "Creating zgen save"
|
|
|
|
|
|
|
|
cache-clear
|
|
|
|
|
|
|
|
zgen load hlissner/zsh-autopair "autopair.zsh"
|
|
|
|
zgen load zsh-users/zsh-history-substring-search
|
|
|
|
zgen load zsh-users/zsh-completions src
|
|
|
|
|
|
|
|
is-ssh || zgen load zsh-users/zsh-syntax-highlighting
|
|
|
|
|
|
|
|
zgen save
|
|
|
|
fi
|
|
|
|
|
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!
|