This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [UPLOAD] base-file 3.6-1


On Fri, August 5, 2005 2:46 am, Eric Blake said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Igor Pechtchanski on 8/4/2005 10:09 AM:
>> What if the user has to set an environment variable for
>> /etc/profile.d/bash-completion.sh to run?  You could check for that
>> environment variable in /etc/profile.d/bash-completion.sh and exit if
>> it's
>> not set.  And it's easier than editing their .bashrc...
>
> The env variable would have to be set before bash starts execution, since
> /etc/profile finishes before the user's ~/.bashrc starts.
>
>>
>> BTW, one drawback of the /etc/profile.d approach is that it only works
>> for login shells.
>
> True enough.  And bash only looks at ~/.bashrc for non-login interactive
> shells, nothing else.  So I guess we are stuck with telling users to edit
> ~/.bashrc no matter what.

Oh well - never mind :)

J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]