zshrc: fix history saving

Closes #46
This commit is contained in:
Mikaela Suomalainen 2014-10-07 08:41:24 +03:00
parent 15511cb230
commit c6c4fa3d59

8
zshrc
View File

@ -19,6 +19,14 @@ fi
# This is based on zshrc which came with Debian (Third option in wizard for new users.)
# Save history
export HISTSIZE=99999
export SAVEHIST=$HISTSIZE
setopt hist_ignore_all_dups
export HISTFILE=~/.zsh_history
setopt INC_APPEND_HISTORY
setopt SHARE_HISTORY
# Set up the prompt
autoload -Uz promptinit