diff options
author | Josh Rahm <rahm@google.com> | 2021-11-11 12:53:44 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2021-11-11 12:54:39 -0700 |
commit | de29509eefa8caeeacd68d6cdfeaadbf207b369a (patch) | |
tree | ed8f4a30a2c9801c51767ce6b1da6f60b538c366 | |
parent | 0b93f3101e9ab20187956f978eb87af6c7f87346 (diff) | |
download | zshrcd-de29509eefa8caeeacd68d6cdfeaadbf207b369a.tar.gz zshrcd-de29509eefa8caeeacd68d6cdfeaadbf207b369a.tar.bz2 zshrcd-de29509eefa8caeeacd68d6cdfeaadbf207b369a.zip |
Add the history file
-rw-r--r-- | 04-options.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/04-options.zsh b/04-options.zsh index e22f3c8..480657f 100644 --- a/04-options.zsh +++ b/04-options.zsh @@ -26,3 +26,9 @@ echo -ne '\e[5 q' _fix_cursor() { echo -ne '\e[5 q' } + +# History file. +HISTFILE=~/.zsh_history +HISTSIZE=100000 +SAVEHIST=100000 +setopt appendhistory |