X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9a1960b5edade792e0d4d9a8c8e0630e774affc5..5eba7cf678e54ea475d22fe6a18f3ec0a77ca94b:/.zsh/zshrc/90_history diff --git a/.zsh/zshrc/90_history b/.zsh/zshrc/90_history index b4e49c6..48a161a 100644 --- a/.zsh/zshrc/90_history +++ b/.zsh/zshrc/90_history @@ -12,9 +12,10 @@ DEFAULT_HISTFILE=$ZVAR/history HISTFILE=$DEFAULT_HISTFILE HISTSIZE=10000 SAVEHIST=$HISTSIZE +LISTMAX=1000 -# do not treat ! specially like csh did -setopt no_bang_hist +# treat ! specially like csh did +setopt bang_hist # ignore duplicates in the history setopt hist_ignore_dups @@ -23,7 +24,9 @@ setopt hist_ignore_dups setopt extended_history # properly lock the file on write -setopt hist_fcntl_lock +autoload -U is-at-least +# actually ignores the -dev-* stuff, but so be it +is-at-least 4.3.6-dev-0+0417 && setopt hist_fcntl_lock # skip over non-contiguous duplicates when searching history setopt hist_find_no_dups