Skip to content

Commit 0d19f52

Browse files
committed
Refactor Z shell's history length
Before, we changed Z shell's history to a bigger number, which was okay, but we can go even bigger! We refactored Z shell's history to include 32768 (2^15) entries - Refactored the save history always to match.
1 parent ad94672 commit 0d19f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zsh/configs/history.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setopt hist_ignore_all_dups hist_ignore_space inc_append_history share_history
44

55
HISTFILE=~/.zhistory
6-
HISTSIZE=8192
7-
SAVEHIST=8192
6+
HISTSIZE=32768
7+
SAVEHIST="${HISTSIZE}"
88

99
export ERL_AFLAGS="-kernel shell_history enabled"

0 commit comments

Comments
 (0)