mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-17 11:20:09 +00:00
Merge pull request #1663 from flavius/master
allow setting a custom HISTFILE before oh-my-zsh is loaded
This commit is contained in:
commit
650bace5c5
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
## Command history configuration
|
||||
HISTFILE=$HOME/.zsh_history
|
||||
if [ -z $HISTFILE ]; then
|
||||
HISTFILE=$HOME/.zsh_history
|
||||
fi
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
|
|
Loading…
Reference in a new issue