Add HISTFILE to save zsh history
History file needs to be specified or otherwise the history would not be saved over multiple terminal sessions. [Source](http://zsh.sourceforge.net/FAQ/zshfaq03.html#321)
This commit is contained in:
parent
fefd1d4509
commit
68689ec58b
1 changed files with 2 additions and 1 deletions
3
zshrc
3
zshrc
|
@ -11,8 +11,9 @@ done
|
|||
|
||||
# history settings
|
||||
setopt histignoredups
|
||||
SAVEHIST=4096
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=4096
|
||||
SAVEHIST=4096
|
||||
|
||||
# awesome cd movements from zshkit
|
||||
setopt autocd autopushd pushdminus pushdsilent pushdtohome cdablevars
|
||||
|
|
Loading…
Add table
Reference in a new issue