X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/8aa9bb3db5f5fbe2c32303a54289895f47017e7c..5d53f9cfbe3a3a27fc16f5d0b8e59154da1ba507:/.zsh/zshrc/90_history?ds=inline diff --git a/.zsh/zshrc/90_history b/.zsh/zshrc/90_history index 4d02a56..48a161a 100644 --- a/.zsh/zshrc/90_history +++ b/.zsh/zshrc/90_history @@ -12,6 +12,7 @@ DEFAULT_HISTFILE=$ZVAR/history HISTFILE=$DEFAULT_HISTFILE HISTSIZE=10000 SAVEHIST=$HISTSIZE +LISTMAX=1000 # treat ! specially like csh did setopt bang_hist @@ -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