New tabs do not run command as a login shell
Bug #50485 reported by
John Florian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-terminal
In the gnome-terminal preferences, there is an option to "Run command as a login shell". This option only affects the first tab.
To reproduce, define an alias (for example) in the user's .bashrc script. This alias will only be defined and available in the first (original) tab.
To post a comment you must log in.
The subsequent tabs have the same aliases as the 1st tab here. The only difference is that you don't get teleported back to $HOME when you open a new tab. Anything in .bashrc gets exported in the new tab though.