diff --git a/zshenv b/zshenv index 1bbfecd..bee82e7 100644 --- a/zshenv +++ b/zshenv @@ -6,4 +6,8 @@ export XDG_STATE_HOME="$HOME/.local/state" export EDITOR='nvim' -ZDOTDIR="${XDG_CONFIG_HOME}/zsh" +# Shell settings +export HISTCONTROL="ignoredups" +export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/zsh_history" +export HISTSIZE=20000 +export SAVEHIST=20000