]> git.ekhem.eu.org Git - guix.git/commit
[bash] Avoid sourcing .bash_profile in .bashrc.
authorJakub Czajka <jakub@ekhem.eu.org>
Mon, 30 May 2022 07:24:20 +0000 (09:24 +0200)
committerJakub Czajka <jczajka@google.com>
Sun, 24 Dec 2023 18:53:07 +0000 (19:53 +0100)
commit7d662cdd4425b405ca65c27112178a900f900c93
tree3cb5d33531ab27840981d1067c29a0f31640391e
parent886631e2871237b2f207e938d01d24e137151780
[bash] Avoid sourcing .bash_profile in .bashrc.

.bashrc is sourced by interactive non-login shells. However, these
shells are run in an environment that was started through a login
shell. Therefore, an interactive non-login shell should have inherited
environment variables created by a login shell in .bash_profile.
bash/.bashrc