summaryrefslogtreecommitdiff
path: root/zsh/rc
blob: 8ea735084a01bd0bc9a895b54d372dd45dacb323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- sh -*-

# Extended globbing
setopt extended_glob
# zsh: exit 1 stylee stuff
setopt print_exit_value
# turn off annoying vim style tab completion
setopt no_auto_menu
# Enable partial list style completion
zstyle ':completion:*' list-suffixes true
# Bash-style null glob result -> no error
setopt null_glob

# Emacs keybindings
bindkey -e

RESDIR=~/.resources

if [ -d ~/bin ]; then
  PATH=~/bin:$PATH
  export PATH
fi

for F in $RESDIR/zsh/rc.d/([a-zA-Z0-9-]##)(.); do
  source $F
done

source $RESDIR/zsh/z-s-h/zsh-syntax-highlighting.zsh