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

# If ENV is set, source it to get all the POSIX-compatible interactive stuff
[[ -n $ENV ]] && source "$ENV"

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

# Load Zsh-specific startup files
for sh in "$HOME"/.zshrc.d/*.zsh ; do
    [[ -e $sh ]] && source "$sh"
done
unset -v sh