Merge pull request #58055 from dtzWill/fix/zsh-history-dont-export-vars
zsh: don't export HISTFILE and friends
This commit is contained in:
commit
e6ad7eeecd
@ -189,9 +189,10 @@ in
|
|||||||
|
|
||||||
. /etc/zinputrc
|
. /etc/zinputrc
|
||||||
|
|
||||||
export SAVEHIST=${toString cfg.histSize}
|
# Don't export these, otherwise other shells (bash) will try to use same histfile
|
||||||
export HISTSIZE=${toString cfg.histSize}
|
SAVEHIST=${toString cfg.histSize}
|
||||||
export HISTFILE=${cfg.histFile}
|
HISTSIZE=${toString cfg.histSize}
|
||||||
|
HISTFILE=${cfg.histFile}
|
||||||
|
|
||||||
${optionalString (cfg.setOptions != []) "setopt ${concatStringsSep " " cfg.setOptions}"}
|
${optionalString (cfg.setOptions != []) "setopt ${concatStringsSep " " cfg.setOptions}"}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user