[Qt-creator] 'Open Terminal Here' and login shell on Linux
atelszewski at gmail.com
Wed Dec 9 12:00:55 CET 2015
On 09/12/15 09:35, Uwe Rathmann wrote:
> On Tue, 08 Dec 2015 11:12:19 +0000, Hunger Tobias wrote:
>>> My problem is that the shell isn't started as login shell and so the
>>> .profile is not read and I would really like it to do so :)
>>> Can I change it somehow?
>> Only by changing the code:-) Or by playing clever tricks with the
>> terminal arguments, but I doubt that will work as expected.
> Sounds like there are initialization in .profile, that should go
> to .bashrc. Why not rearranging those initializations instead of trying
> to change the rules when they are processed.
1. Why do you say .bashrc is better than .profile?
2. What I would actually prefer is that /etc/profile (and in consequence
/etc/profile.d) was read. And I guess it's only possible with login
shell (adding --login to /bin/bash would do it).
More information about the Qt-creator