On Thu, Oct 03, 2002 at 02:46:21PM -0700, Robert Monical wrote:
> 
> Some questions:
> 1. Any idea why the functions are not active when opening a KDE terminal?

man bash, and read the INVOCATION part about initialization files, login
shells, and interactive shells. It is quite possible to have profiles
parsed in one situation and not another depending on the invocation.
Same for bashrc. And, most (some?) terminal apps may have settings for
whether a default invocation is a login shell or not. I suspect this
is the difference you are seeing. Note that login does not necessarily
mean what it might sound like (ie /bin/login).

I personally would say, put anything you always want available in
bashrc since on Redhat, bash_profile parses bashrc. So its there in
that situation, and there for the non-login shell situtaion too. In
bashrc, you can put a 

 if [ "$PS1" ]; then

[...]

section, just for stuff that you only want for interactive shells, to
avoid unnecessary parsing of voluminous configuration stuff for
non-interactive shells.

-- 
Hal Burgiss
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to