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