enable history in zshrc

This commit is contained in:
sup39 2020-05-14 17:41:05 +09:00
parent 15fbf25fb9
commit 3119971e6b

5
zshrc
View file

@ -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