diff options
author | Stefan Frijters <sfrijters@gmail.com> | 2020-10-18 14:14:37 +0200 |
---|---|---|
committer | Stefan Frijters <sfrijters@gmail.com> | 2020-10-18 14:26:05 +0200 |
commit | a53438d18f1faddb9f15c6980c828eb11820284c (patch) | |
tree | b8905c3d672df2933c6a5e5055fc4dad2f4b5e78 /doc/manual | |
parent | 05e6fe69f91a2f17051ca6bf37509dafe44d7b30 (diff) |
doc: nix-shell in pure mode does *not* source user bashrc
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/command-ref/nix-shell.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/src/command-ref/nix-shell.md b/doc/manual/src/command-ref/nix-shell.md index 45a5ff08c..d1266930e 100644 --- a/doc/manual/src/command-ref/nix-shell.md +++ b/doc/manual/src/command-ref/nix-shell.md @@ -76,8 +76,8 @@ All options not listed here are passed to `nix-store cleared before the interactive shell is started, so you get an environment that more closely corresponds to the “real” Nix build. A few variables, in particular `HOME`, `USER` and `DISPLAY`, are - retained. Note that `~/.bashrc` and (depending on your Bash - installation) `/etc/bashrc` are still sourced, so any variables set + retained. Note that (depending on your Bash + installation) `/etc/bashrc` is still sourced, so any variables set there will affect the interactive shell. - `--packages` / `-p` *packages*… |