how to get rid of this message in cygwin startup?

0

I just reinstalled cygwin because I wanted to install Git. But after installation, every time I start cygwin I get this message:

bash: cd: /home/bob: No such file or directory

yao@NY-2B7HVL1 /
$

Before the reinstallation, I just get the "yao@etc /". WHO IS THIS BOB???

iCodeLikeImDrunk

Posted 2012-05-29T21:34:12.950

Reputation: 103

Take a look at your /etc/passwd file. Is there an entry for an account named "bob"? – Keith Thompson – 2012-05-29T22:22:52.370

@KeithThompson nope, just my name.. – None – 2012-05-29T22:29:59.597

Answers

0

Look at your ~/.bashrc file. Perhaps it references /home/bob, or calls a script that does. You can track it down by emptying this file out then adding back chunks a bit at a time.

Scott C Wilson

Posted 2012-05-29T21:34:12.950

Reputation: 2 210