gnome-terminal not started as an "interactive shell"
Bug #250000 reported by
Reuben Firmin
This bug report is a duplicate of:
Bug #17962: newly opened gnome-terminal windows don't have .bash_profile sourced.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-terminal
The bash started by gnome-terminal (invoked from the Gnome menu) didn't know it was supposed to be an interactive shell. This means that a user's .bash_profile is not sourced.
So I edited the gnome-terminal applet to add the option --command="bash --login", which made .bash_profile start to work.
description: | updated |
Changed in gnome-terminal: | |
assignee: | nobody → desktop-bugs |
importance: | Undecided → Low |
status: | New → Incomplete |
To post a comment you must log in.
As far as my knowledge goes, this is not a bug, but exactly what bash (or any shell in an X terminal emulator) is supposed to do. .bash_profile is only sourced on login, not when starting a new shell. To influence the environment of interactive shell sessions, use .bashrc