Change summary
dot_config/zsh/private_dot_zshrc.tmpl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Detailed changes
@@ -126,11 +126,6 @@ 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
@@ -234,6 +229,11 @@ source $XDG_CONFIG_HOME/zsh/completions/antidot.zsh
source $XDG_CONFIG_HOME/zsh/completions/atuin.zsh
fpath=($XDG_CONFIG_HOME/zsh/completions/ $fpath)
+# Configure history file
+export HISTFILE="$XDG_STATE_HOME"/zsh/history
+export HISTSIZE=1000000
+export SAVEHIST=1000000
+
autoload -Uz compinit && compinit
autoload -U +X bashcompinit && bashcompinit