nixpkgs/nixos/modules/programs/zsh
Jörg Thalheim 9049ab1a3b
zsh: do not export HISTFILE, HISTSIZE, SAVEHIST
Every interactive zsh sources /etc/zshrc (see STARTUP/SHUTDOWN FILES in zshautll(1))
Therefor every interactive zsh process will respect the content of these variables.
Using `export` will also lead to child processes inheriting this value.
This leads to problems, if other interactive shells are spawned such as bash,
because they use an incomptabible history format (without timestamps).
There seems to be also cases, where the local HISTSIZE in ~/.zshrc is
not sourced but /etc/zshrc, which leads to history truncation in other shells.
2016-09-27 22:19:53 +02:00
..
zinputrc Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
zsh.nix zsh: do not export HISTFILE, HISTSIZE, SAVEHIST 2016-09-27 22:19:53 +02:00