mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-01 11:55:42 +08:00
allow setting a custom HISTFILE before oh-my-zsh is loaded
This commit is contained in:
parent
0ab0e67ecf
commit
3826c7bf85
@ -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 New Issue
Block a user