git.iko.soy/typeable/nixpkgs
on master help sign in
programs.zsh: allow override of history defaults
commited83b8a61ce2ee61d82f58f068045fafd24cb2fc authormakefu <makefu@syntax-fehler.de> dateTue 12 Jan 2016, 08:38 (11 years ago) parent4f025e0
1 file changed+6−6
nixos/modules/programs/zsh/zsh.nix+6−6
nixos/modules/programs/zsh/zsh.nix+6−6
@@ -98,18 +98,18 @@ in
9898 loginShellInit = cfge.loginShellInit;
9999
100100 interactiveShellInit = ''
101− ${cfge.interactiveShellInit}
102−
103− ${cfg.promptInit}
104− ${zshAliases}
105−
106− # Some sane history defaults
101+ # history defaults
107102 export SAVEHIST=2000
108103 export HISTSIZE=2000
109104 export HISTFILE=$HOME/.zsh_history
110105
111106 setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK
112107
108+ ${cfge.interactiveShellInit}
109+
110+ ${cfg.promptInit}
111+ ${zshAliases}
112+
113113 # Tell zsh how to find installed completions
114114 for p in ''${(z)NIX_PROFILES}; do
115115 fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions)