X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/8aa9bb3db5f5fbe2c32303a54289895f47017e7c..56f20002fca7b00bde003cf22cce3291def4cabd:/.zsh/zshrc/90_history 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