# vim:ft=zsh
# Avoid configuration sourcing in history
# © 2013 Paul Seyfert and contributors (see also: LICENSE)

# ensure history gets actually written (shell gets closed before history gets
# written otherwise)
setopt inc_append_history

HISTSIZE=100
SAVEHIST=100

# Push current history to stack (make e.g. sourcing of configuration
# inaccessible to user). The stack won't be poped. Set HISTFILE to ~/.shellex
# and read history from there.
fc -p ~/.shellex_history
