commit ca338b1e8c647d6c869a3ec67727a7afa63f28af
parent 31739b989e1e6cddfdd0c9a52d549fc19255d2ec
Author: pyratebeard <root@pyratebeard.net>
Date: Sun, 26 May 2024 22:03:42 +0100
fix(zsh): move history to XDG_STATE_HOME. increase save limits
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/zsh/.config/zsh/history.zsh b/zsh/.config/zsh/history.zsh
@@ -1,7 +1,7 @@
# HISTORY
-HISTFILE=~/.zhistory
+export HISTFILE="$XDG_STATE_HOME"/zsh/history
setopt INC_APPEND_HISTORY
-HISTSIZE=12000
-SAVEHIST=10000
+HISTSIZE=130000
+SAVEHIST=100000
setopt HIST_EXPIRE_DUPS_FIRST
setopt EXTENDED_HISTORY