.bashrc

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


On Mon, 29 Jun 2009 16:52:25 +1000, Thorsten Kampe  
<thorsten@thorstenkampe.de> wrote:

> * Dave Tang (Mon, 29 Jun 2009 16:21:04 +1000)
>> %whoami
>> d.tang
>>
>> %echo $HOME
>> /cygdrive/c/Documents and Settings/d.tang
>>
>> %cat /etc/passwd
>> d.tang:unused_by_nt/2000/xp:11418:10545:d.tang,U-IMBPC\d.tang,S-1-5-21-2360347544-2198861549-3143054254-1418:/cygdrive/c/Documents
>> and Settings/d.tang:/bin/bash
>>
>> > In that dir you have .bashrc?
>>
>> %ls /cygdrive/c/Documents\ and\ Settings/d.tang/.bashrc
>> /cygdrive/c/Documents and Settings/d.tang/.bashrc
>>
>> 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

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

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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