blob: fa4186d42143d4eb93ea8a577de9281ba4d4e2dd (plain
# Clear away all aliases; we do this here rather than in $ENV because the ksh
# family of shells relies on aliases to implement certain POSIX utilities like
# `fc` and `type`. Ignore output, as older Zsh seems not to implement this
# (quelle surprise).
unalias -a >/dev/null 2>&1
# If ENV is set, source it to get all the POSIX-compatible interactive stuff
[[ -n $ENV ]] && source "$ENV"
# Emacs keybindings even if EDITOR is vi(1)
# History settings
setopt histignorealldups sharehistory
SAVEHIST=$((1 << 12))
# Load Zsh-specific startup files
for sh in "$HOME"/.zshrc.d/*.zsh ; do
[[ -e $sh ]] && source "$sh"
unset -v sh