allow setting a custom HISTFILE before oh-my-zsh is loaded

This commit is contained in:
Flavius Aspra 2013-03-15 22:07:47 +01:00
parent 0ab0e67ecf
commit 3826c7bf85
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
## Command history configuration
HISTFILE=$HOME/.zsh_history
if [ -z $HISTFILE ]; then
HISTFILE=$HOME/.zsh_history
fi
HISTSIZE=10000
SAVEHIST=10000