From d04677a0a650c4e850485b05f41134900fa5f639 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 20 Apr 2009 09:37:26 +0000 Subject: [PATCH] ignore failure when setopt histfcntllock, is-at-least did not work properly --- .zsh/zshrc/80_history | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.zsh/zshrc/80_history b/.zsh/zshrc/80_history index faf9e6d..563ad90 100644 --- a/.zsh/zshrc/80_history +++ b/.zsh/zshrc/80_history @@ -24,10 +24,8 @@ setopt hist_ignore_dups # save timestamp and duration with each event setopt extended_history -# properly lock the file on write -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 +# properly lock the file on write, if that option exists +setopt hist_fcntl_lock 2>/dev/null # skip over non-contiguous duplicates when searching history setopt hist_find_no_dups -- 2.39.2