32 lines
558 B
Bash
32 lines
558 B
Bash
|
### zshrc
|
||
|
#
|
||
|
# By Henrik Lissner <henrik@lissner.net>
|
||
|
#
|
||
|
|
||
|
repo "tarjoilija/zgen" "$HOME/.zgen"
|
||
|
|
||
|
source "$HOME/.zgen/zgen.zsh"
|
||
|
if ! zgen saved;
|
||
|
then
|
||
|
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
|
||
|
|
||
|
[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local"
|
||
|
|
||
|
for file in $DOTFILES/.enabled.d/*/*.zsh;
|
||
|
do
|
||
|
source "$file"
|
||
|
done
|
||
|
|
||
|
# Done!
|