aboutsummaryrefslogtreecommitdiff
path: root/zsh/zshrc
blob: 2376e5684a4d011030773b2f5345073a7aab58c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Emacs keybindings even if EDITOR is vi(1)
bindkey -e

# History settings
setopt histignorealldups sharehistory
HISTFILE=$HOME/.zsh_history
SAVEHIST=$((1 << 12))
HISTSIZE=$((1 << 10))

# Load POSIX shell startup files and then Bash-specific ones
for sh in "$ENV" "$HOME"/.zshrc.d/*.zsh ; do
    [[ -e $sh ]] && source "$sh"
done
unset -v sh