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:
Jan Malakhovski 2015-01-07 10:53:38 +00:00
parent 8cc5279b70
commit b6646f7ba7

View file

@ -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
'';
};