Username and Computer Name

max@kalani.com max@kalani.com
Tue May 15 02:01:00 GMT 2012


Hello Greg,



Could you please explain more into detail on how to obtain a PS1?




Mahalo,
Max










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


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