This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: cygwin: clear and path dir
- To: Xianzhong Liu <liu at newmonics dot com>, cygwin at sources dot redhat dot com
- Subject: RE: cygwin: clear and path dir
- From: Frank Merenda <fmerenda at offmail dot vetexchange dot com>
- Date: Wed, 30 Aug 2000 23:21:40 -0400
you can clear the display by typing the command "clear" at the prompt.
you can display your current directory by putting the following line in your
.bashrc file:
PS1="\w-\$"
that will show your current directory, and a "-$" after,so you will end up
with a prompt that looks like this:
/dev/vex-$
hope that helps!
Thanks,
Frank Merenda | Senior Software Engineer
VetExchange | http://www.VetExchange.com
fmerenda@VetExchange.com
"Don't believe the hype."
-- Public Enemy
> -----Original Message-----
> From: Xianzhong Liu [mailto:liu@newmonics.com]
> Sent: Wednesday, August 30, 2000 12:02 PM
> To: cygwin@sources.redhat.com
> Subject: cygwin: clear and path dir
>
>
> Hello,
>
> I just wonder if I can clear the shell window after many lines
> accumulate and also if I can display the current directory path on the
> top of the shell.
>
> Thanks.
>
>
> Jim
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com