mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixos: make zsh use fcntl for locking history files by default
Without this zsh creates and then unlinks .lock files at each interactive input line, which is inhumane with respect to disk.
This commit is contained in:
parent
8cc5279b70
commit
b6646f7ba7
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ in
|
|||
export HISTSIZE=2000
|
||||
export HISTFILE=$HOME/.zsh_history
|
||||
|
||||
setopt HIST_IGNORE_DUPS SHARE_HISTORY
|
||||
setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
|
||||
'';
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue