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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Pascal J. Bourguignon" <pjb AT informatimago DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Username and Computer Name
References: <20120514210137 DOT 66526dtb5pmnlatd AT www DOT kalani DOT com>
Reply-to: pjb AT informatimago DOT com
X-PGP-Key-ID: 0xEF5E9966
X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66
X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc
X-URL: http://www.informatimago.com/index
Date: Tue, 15 May 2012 05:19:14 +0200
In-Reply-To: <20120514210137.66526dtb5pmnlatd@www.kalani.com> (max@kalani.com's message of "Mon, 14 May 2012 21:01:37 -0500")
Message-ID: <87d366872l.fsf@kuiper.lan.informatimago.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

max AT kalani DOT com writes:

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

What else can we tell you?  You've been explained how to learn about it,
and you haven't.  What can we do?

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


If you don't know how to look for a string in a text by reading that
text, you could try to use a computer command:


   man bash | grep -C 3  PS1


But since you couldn't type the man bash command, I don't expect you to
be able to type the more complex man bash | grep -C 3  PS1 command.  And
since you've not been able to read the bash manual, how could I expect
you to be able to read the extracts?

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.

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