git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitb6646f7ba781fd5290b414aac499c4b835839209 authorJan Malakhovski <oxij@oxij.org> dateWed 7 Jan 2015, 10:53 (12 years ago) parent8cc5279
1 file changed+1−1
nixos/modules/programs/zsh/zsh.nix+1−1
nixos/modules/programs/zsh/zsh.nix+1−1
@@ -100,7 +100,7 @@ in
100100 export HISTSIZE=2000
101101 export HISTFILE=$HOME/.zsh_history
102102
103− setopt HIST_IGNORE_DUPS SHARE_HISTORY
103+ setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
104104 '';
105105
106106 };