From b6646f7ba781fd5290b414aac499c4b835839209 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Wed, 7 Jan 2015 10:53:38 +0000 Subject: 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. --- nixos/modules/programs/zsh/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/programs') 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 ''; }; -- cgit 1.4.1