Username and Computer Name

Greg Chicares gchicares@sbcglobal.net
Mon May 14 23:08:00 GMT 2012


On 2012-05-14 21:19Z, max@kalani.com wrote:
> I am installing cygwin on a new computer and I was told that the green
> "username@computername ' " is supposed to be hidden, and that I  
> somehow installed Cygwin improperly.

That's a normal part of the default bash prompt. (Perhaps your
employer would prefer that you remove it?)

> Could someone please explain how to hide or setup cygwin properly to  
> not show this?

Run 'man bash' and look for PS1. Remove the '\u@\h' part. To make
the change permanent, set your own PS1 in '~/.bash_profile'. This
isn't cygwin specific, so you can google for more details.

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