enable history in zshrc
This commit is contained in:
parent
15fbf25fb9
commit
3119971e6b
1 changed files with 5 additions and 0 deletions
5
zshrc
5
zshrc
|
@ -3,6 +3,11 @@
|
||||||
setopt interactivecomments
|
setopt interactivecomments
|
||||||
# disable ^S ^Q
|
# disable ^S ^Q
|
||||||
stty stop undef start undef
|
stty stop undef start undef
|
||||||
|
# history
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
HISTSIZE=1000 # memory
|
||||||
|
SAVEHIST=1000 # file
|
||||||
|
setopt appendhistory
|
||||||
|
|
||||||
## Input
|
## Input
|
||||||
# use vim mode
|
# use vim mode
|
||||||
|
|
Loading…
Reference in a new issue