From: g0daeniken@sgcl1.unisg.ch
Subject: RE: System Prompt - Put Path in prompt
Date: 1995/06/20 [thread overview]
Message-ID: <1995Jun20.093531.3215@sgcl1.unisg.ch> (raw)
In-Reply-To: 3s46pj$9gt@lll-winken.llnl.gov
In article <3s46pj$9gt@lll-winken.llnl.gov>, oberman@icaen.llnl.gov writes:
> In Article <3rsqc3$h3p@nn.fast.net>
> Robert Cerniglia <peitechs@fast.net> writes:
>>I'm trying to find somebody who can tell me where to find or how to
>>write a script that will display my Current working directory as my system
>>prompt.
>
> What shell are you using? If it's tcsh, it's directly supported with
> "set prompt=%\" or, for a friendlier and shorter presentation,
> "set prompt=%~".
And in ksh, you have to include the line
export PS1='!$PWD> '
in your home directory's .profile
The ! is optional, it displays the history counter.
regards,
Eric
prev parent reply other threads:[~1995-06-20 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-16 4:00 System Prompt - Put Path in prompt Robert Cerniglia
1995-06-18 4:00 ` Reece Hart
1995-06-19 4:00 ` Tim Lucia
1995-06-19 4:00 ` oberman
1995-06-20 4:00 ` g0daeniken [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox