diff --git a/.zshrc b/.zshrc index 64e7f5f..6cb4fa3 100644 --- a/.zshrc +++ b/.zshrc @@ -180,3 +180,18 @@ fi if _cmd_exists terramate; then alias t="terramate" fi + + +# history settings +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 +setopt APPEND_HISTORY +setopt SHARE_HISTORY +setopt HIST_IGNORE_DUPS +setopt HIST_IGNORE_ALL_DUPS +setopt HIST_IGNORE_SPACE +setopt HIST_SAVE_NO_DUPS +setopt HIST_REDUCE_BLANKS +setopt INC_APPEND_HISTORY +setopt HIST_EXPIRE_DUPS_FIRST