1. Bryan Murdock
  2. albion
  3. Issues
Issue #7 new

starting a terminal emulator from a terminal emulator sources env again

Bryan Murdock
repo owner created an issue

I usually only launch terminal emulators (xterm, gnome-terminal, etc.) from the gui, but I started one from the command-line today and noticed that the env got sourced again.

It appears that if it's a login shell (/bin/bash --login), then /.profile is automatically sourced, /.bashrc is not (many people put a line in their .profile to explicitely source .bashrc.

If it's not a login shell (just /bin/bash), it appears that /.bashrc is automatically sourced, and /.profile is not.

~~/.bashrc is where the env is loaded (caused to be sourced)

Comments (0)

  1. Log in to comment