This is the mail archive of the cygwin 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: startxwin started bash does not read .bashrc or .bash_profile


Andrey Repin wrote:

>> Greetings, Kevin Layer!
>> 
>> > I know ~/.bashrc hasn't been read because my prompt is not changed and
>> > my aliases are not there.
>> 
>> That's just assumption. Not the first-hand knowledge. It may be true, or
>> not... Best way to know is to place
>> set -x
>> around the start of the file and observe the results.

That was one of the experiments I did, and I saw no evidence that any
commands were executed.  I even passed it as the argument to the
invocation.

As for the assumption, I understand that an error could have
short-circuited the processing of my init file, but in the bash's that
haven't read it, 

   . .bashrc

produces no errors *and* has my aliases and new prompt.

Kevin

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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