mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01: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
|
||||||
|
if [ -z $HISTFILE ]; then
|
||||||
HISTFILE=$HOME/.zsh_history
|
HISTFILE=$HOME/.zsh_history
|
||||||
|
fi
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue