diff --git a/.config/sh/zsh.rc b/.config/sh/zsh.rc index e85c5cb..7fc0fd4 100644 --- a/.config/sh/zsh.rc +++ b/.config/sh/zsh.rc @@ -8,12 +8,14 @@ setopt promptsubst # enable command substitution in prompt # History configurations HISTFILE=~/.zsh_history -HISTSIZE=1000 -SAVEHIST=2000 +HISTSIZE=100000 +SAVEHIST=200000 setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE setopt hist_ignore_dups # ignore duplicated commands history list setopt hist_ignore_space # ignore commands that start with space setopt hist_verify # show command with history expansion to user before running it +setopt share_history +setopt extended_history # enable completion features autoload -Uz compinit