>From the bash(1) man page, under the INVOCATION section:
When bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads and executes
commands from the file /etc/profile, if that file exists.
After reading that file, it
This is not a problem of bash behaviour, it's a problem in the command
launcher when you create a shortcut in the environment.
To test it, I created a shortcut with:
gnome-terminal -t "Python 2" -x bash -l -c python2
(attached to the combination ctrl-alt-2)
Then, I hit ctrl-alt-2, a termina
This is the correct behaviour of bash. If you want bash to read its
init files as a login session invocation, you need to pass --login (or
-l) on the command line. See bash(1). This is not a bug in Unity.
** Changed in: unity
Status: New => Invalid
** Changed in: unity (Ubuntu)
S
Yes, this is still broken in Saucy.
** Changed in: unity
Status: Incomplete => New
** Changed in: unity (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/
Can you still reproduce the bug? Why targeting unity?
** Changed in: unity
Status: New => Incomplete
** Changed in: unity (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.l
Mh, this seems to work here to me.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1102727
Title:
Shortcut launcher make bash to not read .bashrc
To manage notifications about this bug go to:
https:/
Yes, pasting the whole command in a terminal opens a new gnome-terminal,
ends with a Python inside it, and has the correct environments set.
** Changed in: unity
Status: Incomplete => New
** Changed in: unity (Ubuntu)
Status: Incomplete => New
--
You received this bug notification
Thanks for the bug report. Does it work fine if you just paste that
command into a terminal. Does the new terminal window works as you
expect doing that?
** Changed in: unity (Ubuntu)
Status: New => Incomplete
** Also affects: unity
Importance: Undecided
Status: New
** Changed i