mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
allow setting a custom HISTFILE before oh-my-zsh is loaded
This commit is contained in:
parent
0ab0e67ecf
commit
3826c7bf85
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
## Command history configuration
|
## Command history configuration
|
||||||
HISTFILE=$HOME/.zsh_history
|
if [ -z $HISTFILE ]; then
|
||||||
|
HISTFILE=$HOME/.zsh_history
|
||||||
|
fi
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue