Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

programs.zsh: allow override of history defaults

makefu ed83b8a6 4f025e02

+6 -6
+6 -6
nixos/modules/programs/zsh/zsh.nix
··· 98 loginShellInit = cfge.loginShellInit; 99 100 interactiveShellInit = '' 101 - ${cfge.interactiveShellInit} 102 - 103 - ${cfg.promptInit} 104 - ${zshAliases} 105 - 106 - # Some sane history defaults 107 export SAVEHIST=2000 108 export HISTSIZE=2000 109 export HISTFILE=$HOME/.zsh_history 110 111 setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK 112 113 # Tell zsh how to find installed completions 114 for p in ''${(z)NIX_PROFILES}; do
··· 98 loginShellInit = cfge.loginShellInit; 99 100 interactiveShellInit = '' 101 + # history defaults 102 export SAVEHIST=2000 103 export HISTSIZE=2000 104 export HISTFILE=$HOME/.zsh_history 105 106 setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK 107 + 108 + ${cfge.interactiveShellInit} 109 + 110 + ${cfg.promptInit} 111 + ${zshAliases} 112 113 # Tell zsh how to find installed completions 114 for p in ''${(z)NIX_PROFILES}; do