We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The nixpkgs zsh module
nixpkgs/nixos/modules/programs/zsh/zsh.nix
Lines 192 to 195 in 6a73992
HISTFILE
Start a bash shell and observe zsh history get clobbered.
or
Run typeset -p HISTFILE and observe an export HISTFILE=...
typeset -p HISTFILE
export HISTFILE=...
Add typeset -p HISTFILE || true early to
typeset -p HISTFILE || true
Lines 182 to 183 in 6a73992
export HISTFILE=/dev/null
Please run nix-shell -p nix-info --run "nix-info -m" and paste the results.
nix-shell -p nix-info --run "nix-info -m"
"x86_64-linux"
Linux 4.19.37-hardened, NixOS, 19.09.git.2f96f26 (Loris)
yes
nix-env (Nix) 2.2.2
"nixos-18.09.1922.97e0d53d669"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered:
I kept observing an exported HISTFILE because it was still exported in the parent process. Killed tmuxes, logged out, and it's fine now.
Sorry, something went wrong.
No branches or pull requests
Issue description
The nixpkgs zsh module
nixpkgs/nixos/modules/programs/zsh/zsh.nix
Lines 192 to 195 in 6a73992
HISTFILE
to not be exported, butHISTFILE
is already exported at that point.Steps to reproduce
Start a bash shell and observe zsh history get clobbered.
or
Run
typeset -p HISTFILE
and observe anexport HISTFILE=...
or
Add
typeset -p HISTFILE || true
early tonixpkgs/nixos/modules/programs/zsh/zsh.nix
Lines 182 to 183 in 6a73992
export HISTFILE=/dev/null
.Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
"x86_64-linux"
Linux 4.19.37-hardened, NixOS, 19.09.git.2f96f26 (Loris)
yes
yes
nix-env (Nix) 2.2.2
"nixos-18.09.1922.97e0d53d669"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: