[Qt-creator] 'Open Terminal Here' and login shell on Linux
Andrzej Telszewski
atelszewski at gmail.com
Tue Dec 8 10:39:00 CET 2015
Hi,
When right-clicking on a file in the project's tree there is an option
to 'Open Terminal Here'.
If I understand correctly, the way the terminal is opened is the following:
1. Change to the directory where the file resides.
2. Execute "Tools -> Options -> Environment -> General -> Terminal" with
the shell executable path appended. In my case it's /bin/bash but I
guess Qt Creator actually takes /bin/sh or reads it from /etc/passwd or
something like that.
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?
My terminal setting for the moment is:
/usr/bin/terminator -x
but I don't think it's relevant as it is the final executable (that is
/bin/bash) that would have to be run with --login argument.
Thanks in advance!
BTW, as I'm new to the list, hello everyone :)
--
Best regards,
Andrzej Telszewski
More information about the Qt-creator
mailing list