Path: utzoo!mnetor!uunet!husc6!rutgers!sunybcs!boulder!hartzell
From: hartzell@boulder.Colorado.EDU (George Hartzell)
Newsgroups: comp.unix.questions
Subject: Re: The whole prompt string thing (was: PS1 and the bourne shell...)
Message-ID: <3370@sigi.Colorado.EDU>
Date: 9 Dec 87 21:20:21 GMT
References: <305@caus-dp.UUCP> <1170001@otter.HP.COM> <1410@swlabs.UUCP>
Sender: news@sigi.Colorado.EDU
Reply-To: hartzell@boulder.Colorado.EDU (George Hartzell)
Organization: University of Colorado, Boulder
Lines: 22

In article <1410@swlabs.UUCP> jack@swlabs.UUCP (Jack Bonn) writes:
>
>Yet in DOS, to set the prompt to the current working directory (a sometimes
>convenient thing to do), one simply issues the command PROMPT $p.  It is not 
>quite as easy as this in unix.
>-- 
>Jack Bonn, <> Software Labs, Ltd, Box 451, Easton CT  06612
>uunet!swlabs!jack

At the risk of starting another Crusade, if you are using the latest version 
of the tenex c shell you can set your prompt to the full path name of the
current working directory with:
set prompt="%d"
and you can set it to the tail of the full path with:
set prompt="%c"

Isn't it nice to be able to choose your shell?
g.

George Hartzell			                 (303) 492-4535
MCD Biology, University of Colorado-Boulder, Boulder, CO 80309
hartzell@Boulder.Colorado.EDU  ..!{hao,nbires}!boulder!hartzell