diff --git a/.config/zsh/conf.d/20-history.zsh b/.config/zsh/conf.d/20-history.zsh index 8f06d53..b8a1d5f 100755 --- a/.config/zsh/conf.d/20-history.zsh +++ b/.config/zsh/conf.d/20-history.zsh @@ -1,7 +1,8 @@ ## Command history configuration -HISTFILE="${ZCACHE}/history" -HISTSIZE=1000000000 -SAVEHIST=1000000000 +export HISTFILE="${ZCACHE}/history" +export HISTSIZE=1000000000 +export SAVEHIST=${HISTSIZE} +export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)" export HISTTIMEFORMAT="[%F %T] " setopt INC_APPEND_HISTORY @@ -12,5 +13,4 @@ setopt hist_verify setopt incappendhistory setopt histignorespace setopt histnostore -setopt share_history -export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)" \ No newline at end of file +setopt share_history \ No newline at end of file