From ba9d5a23b26c70a35f13a71a90c81690ab001062 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 6 May 2008 10:20:02 +0100 Subject: [PATCH] setopt hist_fcntl_lock only for 4.3.6 and beyond --- .zsh/zshrc/90_history | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5