delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/14/19:08:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw
Message-ID: <4FB19069.7020401@sbcglobal.net>
Date: Mon, 14 May 2012 23:08:25 +0000
From: Greg Chicares <gchicares AT sbcglobal DOT net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Username and Computer Name
References: <20120514161909 DOT 19662fbvx7uv2mrx AT www DOT kalani DOT com>
In-Reply-To: <20120514161909.19662fbvx7uv2mrx@www.kalani.com>
X-IsSubscribed: yes
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

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

- Raw text -


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