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: .bashrc


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


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