Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 9049ab1a3b8bd27eda01c605b9dc4d2993e73caf
      
https://github.com/NixOS/nixpkgs/commit/9049ab1a3b8bd27eda01c605b9dc4d2993e73caf
  Author: Jörg Thalheim <[email protected]>
  Date:   2016-09-27 (Tue, 27 Sep 2016)

  Changed paths:
    M nixos/modules/programs/zsh/zsh.nix

  Log Message:
  -----------
  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.


  Commit: 60cdc8c1f8bab0800dad913eee39c997e1094535
      
https://github.com/NixOS/nixpkgs/commit/60cdc8c1f8bab0800dad913eee39c997e1094535
  Author: zimbatm <[email protected]>
  Date:   2016-09-28 (Wed, 28 Sep 2016)

  Changed paths:
    M nixos/modules/programs/zsh/zsh.nix

  Log Message:
  -----------
  Merge pull request #19015 from Mic92/zsh

zsh: do not export HISTFILE, HISTSIZE, SAVEHIST


Compare: https://github.com/NixOS/nixpkgs/compare/63d08188c167...60cdc8c1f8ba
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to