.bashrc

Dave Tang d.tang@imb.uq.edu.au
Mon Jun 29 09:29:00 GMT 2009


On Mon, 29 Jun 2009 17:21:21 +1000, Thorsten Kampe  
<thorsten@thorstenkampe.de> wrote:

> * Dave Tang (Mon, 29 Jun 2009 17:11:26 +1000)
>> >> Do you spot anything funny going on?
>> >
>> > Your prompt and your home directory. Looks like you're not using bash
>> > (but zsh maybe) and not using the defaults.
>>
>> Ah sorry for the confusion, I had modified my PS1 settings (which I  
>> could
>> set after manually sourcing .bashrc) so I just put a % for my prompt in
>> the email.
>>
>> If I start cygwin normally my prompt looks like this:
>>
>> d.tang@imb09-02635 ~
>> $
>>
>> Also
>>
>> d.tang@imb09-02635 ~
>> $ echo $SHELL
>> /bin/bash
>>
>> d.tang@imb09-02635 ~
>> $ echo $0
>> -bash
>
> Doesn't really matter. The important thing is your home directory. Set
> it to /home/d.tang
>
> T.

Thanks for the quick reply.

So I've changed my home directory to /home/d.tang in my passwd file. I  
copied the .bashrc into my new home directory.

But when I restart cygwin, it still doesn't load the .bashrc. Did I do  
something wrong?


--
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



More information about the Cygwin mailing list