Zsh: Use fcntl for locking history file
This commit is contained in:
parent
51e4f9178f
commit
37a76f99b5
@ -18,7 +18,7 @@ export SAVEHIST=10000 # On disk.
|
||||
setopt NO_SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY_TIME
|
||||
# setopt NO_INC_APPEND_HISTORY_TIME EXTENDED_HISTORY SHARE_HISTORY
|
||||
setopt HIST_EXPIRE_DUPS_FIRST HIST_IGNORE_DUPS
|
||||
setopt HIST_IGNORE_SPACE HIST_REDUCE_BLANKS HIST_VERIFY
|
||||
setopt HIST_IGNORE_SPACE HIST_REDUCE_BLANKS HIST_VERIFY HIST_FCNTL_LOCK
|
||||
|
||||
# Import new commands from the history file
|
||||
function _my_history_preexec()
|
||||
|
Loading…
x
Reference in New Issue
Block a user