[Qt-creator] 'Open Terminal Here' and login shell on Linux

Andrzej Telszewski atelszewski at gmail.com
Thu Dec 10 13:17:22 CET 2015


On 10/12/15 08:47, Uwe Rathmann wrote:
> On Wed, 09 Dec 2015 19:13:52 +0100, Andrzej Telszewski wrote:
>
>> What I tested and does not work for me:
>> /etc/bashrc /etc/bash_profile "
>
> man bash:
>
> "When an interactive shell that is not a login shell is started, bash
> reads and executes commands from /etc/bash.bashrc then ~/.bashrc when
> those files exist and are readable."
>
> If "/etc/bash.bashrc" didn't "work" it is not due to the fact, that it
> was not processed and trying to move the same statements to a different
> file will probably not change much.
>
> By the way: on my OpenSuse box the standard /etc/bash.bashrc has the
> following line: test -s /etc/bash.bashrc.local && . /etc/bash.bashrc.local
>
> What means: create a file /etc/bash.bashrc.local and put your individual
> settings there - if you want to avoid, that they get lost with your next
> package update.

I guess my version of bash doesn't take /etc/bash.bashrc into account at 
all, it's not even mentioned in the man. My version is: GNU bash, 
version 4.3.42(1)-release (x86_64-slackware-linux-gnu)

I'll stick with what is working for me, that is ~/.bashrc.

>
> ciao,
> Uwe
>
> PS: but this becomes a bit offtopic on this mailing list

Yep, it's my last message concerning what bash does or does not ;)

>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>


-- 
Best regards,
Andrzej Telszewski



More information about the Qt-creator mailing list