Permalink
Browse files

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

  • Loading branch information...
1 parent 0ab0e67 commit 3826c7bf85b0005438c872fedc7aa1b4174e82c9 @flavius flavius committed Mar 15, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/history.zsh
View
@@ -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 3826c7b

Please sign in to comment.