Permalink
Browse files

Merge pull request #1663 from flavius/master

allow setting a custom HISTFILE before oh-my-zsh is loaded
  • Loading branch information...
2 parents b0d80a0 + 3826c7b commit 650bace5c52897e9349d9401ebb8c862f3de7ae8 @robbyrussell committed Mar 27, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/history.zsh
View
4 lib/history.zsh
@@ -1,5 +1,7 @@
## Command history configuration
-HISTFILE=$HOME/.zsh_history
+if [ -z $HISTFILE ]; then
+ HISTFILE=$HOME/.zsh_history
+fi
HISTSIZE=10000
SAVEHIST=10000

0 comments on commit 650bace

Please sign in to comment.