Change summary
dot_config/zsh/private_dot_zshrc.tmpl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Detailed changes
@@ -35,7 +35,6 @@ export XDG_CACHE_HOME="$HOME/.cache"
# Moving dotfiles around
zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zsh/zcompcache
-export HISTFILE="$XDG_STATE_HOME"/zsh/history
export ZDOTDIR="$HOME"/.config/zsh
export WINEPREFIX="$XDG_DATA_HOME"/wine
export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
@@ -112,6 +111,11 @@ export COLUMNS=80
export MANWIDTH=80
export CHARM_HOST=charm.secluded.site
+# Configure history file
+export HISTFILE="$XDG_STATE_HOME"/zsh/history
+export HISTSIZE=1000000
+export SAVEHIST=1000000
+
# Partially in response to https://sourcehut.org/blog/2023-01-09-gomodulemirror/
# Partially because GOPROXY bad
export GOPROXY=direct