diff --git a/dot_config/zsh/private_dot_zshrc.tmpl b/dot_config/zsh/private_dot_zshrc.tmpl index a9d355daa8669808c52929470442c10d63ac0ebe..ac40c0c8b6f88370af018b4eb86af787c21777be 100644 --- a/dot_config/zsh/private_dot_zshrc.tmpl +++ b/dot_config/zsh/private_dot_zshrc.tmpl @@ -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