diff options
author | Jan Malakhovski <oxij@oxij.org> | 2015-01-07 10:53:38 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2015-01-07 15:43:01 +0000 |
commit | b6646f7ba781fd5290b414aac499c4b835839209 (patch) | |
tree | 99c9e47e72e11b15d8746ff02203e89108f5e968 /nixos/modules/programs | |
parent | 8cc5279b70fe4b93f98b021fafab54809ef95b3a (diff) | |
download | nixlib-b6646f7ba781fd5290b414aac499c4b835839209.tar nixlib-b6646f7ba781fd5290b414aac499c4b835839209.tar.gz nixlib-b6646f7ba781fd5290b414aac499c4b835839209.tar.bz2 nixlib-b6646f7ba781fd5290b414aac499c4b835839209.tar.lz nixlib-b6646f7ba781fd5290b414aac499c4b835839209.tar.xz nixlib-b6646f7ba781fd5290b414aac499c4b835839209.tar.zst nixlib-b6646f7ba781fd5290b414aac499c4b835839209.zip |
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.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/zsh/zsh.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index 39f9671316ee..edde7a7a757e 100644 --- a/nixos/modules/programs/zsh/zsh.nix +++ b/nixos/modules/programs/zsh/zsh.nix @@ -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 ''; }; |