delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/14/22:02:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <20120514210137.66526dtb5pmnlatd@www.kalani.com>
Date: Mon, 14 May 2012 21:01:37 -0500
From: max AT kalani DOT com
To: cygwin AT cygwin DOT com
Cc: gchicares AT sbcglobal DOT net
Subject: Re: Username and Computer Name
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.3.11)
X-BWhitelist: no
X-Source-Sender: (localhost) [127.0.0.1]:59533
X-Source-Auth: max AT kalani DOT com
X-Email-Count: 2
X-Source-Cap: a2FsYW5pO211bWVkaWE7bW9uZGVvLndlYnNpdGV3ZWxjb21lLmNvbQ==
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello Greg,



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




Mahalo,
Max










On 2012-05-14 21:19Z, max AT kalani DOT com wrote:
> I am installing cygwin on a new computer and I was told that the green
> "username AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019