On Sat, 2014 Jun 21 10:33+0200, Yves-Alexis Perez wrote:
>
> /etc/profile is for login shell, I guess that's the reason…

Exactly. If I reconfigure my X terminal emulator to give me a login
shell, then my profile initializations are run---but they are then run
for every new shell I open, which is incorrect behavior. (It's not
uncommon to start up background programs and such [like ssh-agent] in
~/.profile, as the file is by definition supposed to be run once per
login session.)


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to