delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/21/19:02:13

From: bzinger AT flash DOT net ("Micheal A. Benzinger")
Subject: Re: BASH prompt modification.
21 Jul 1997 19:02:13 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.3.32.19970721201347.009172e0.cygnus.gnu-win32@pop.flash.net>
Mime-Version: 1.0
X-Sender: bzinger AT pop DOT flash DOT net
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32)
Original-To: Panos Platon Tsapralis <pan AT hol DOT gr>,
"'Cygnus GNU Programming Environment'" <gnu-win32 AT cygnus DOT com>
In-Reply-To: <01BC9630.3A87B4A0@port2.ppp2.hol.gr>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi Panos,

I believe the following in your .bashrc file will do the trick:

	export PS1='\w > '

Mike Benzinger

At 11:45 PM 7/21/97 +-300, Panos Platon Tsapralis wrote:
>	Dear friends,
>
>	I want to modify the command line prompt of BASH so that it will show
on-screen ( after complete execution of every command ) the current
directory ( the output of pwd or the content of $PWD ). How on earth do I
do this ? I have made endless efforts to find a solution but to no avail.
Please help me...
>


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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