From: martin f. krafft Date: Tue, 6 May 2008 09:20:02 +0000 (+0100) Subject: setopt hist_fcntl_lock only for 4.3.6 and beyond X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/ba9d5a23b26c70a35f13a71a90c81690ab001062 setopt hist_fcntl_lock only for 4.3.6 and beyond --- diff --git a/.zsh/zshrc/90_history b/.zsh/zshrc/90_history index db74f83..48a161a 100644 --- a/.zsh/zshrc/90_history +++ b/.zsh/zshrc/90_history @@ -24,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