From: speno@swarthmore.edu (John P. Speno)
Subject: Re: Directory Prompt
Date: 1996/05/10 [thread overview]
Message-ID: <4n098r$it0@gingko.cc.swarthmore.edu> (raw)
In-Reply-To: 4mvvso$o92@david.wheaton.edu
>Well gosh, in tcsh, there is a predefined alias, precmd, which gets run
>every time just before the prompt comes up. Thus instead of realiasing
>cd, popd, and pushd, just do the following:
>alias precmd 'set prompt="\n%B%n@%m%b:%/\n%% "'
>That will reset the prompt just before every time the prompt comes up.
Why bother aliasing precmd when just:
set prompt="\n%B%n@%m%b:%/\n%% "
works? YMMV.
--
John P. Speno, speno@swarthmore.edu, Swarthmore College Computing Center
"There is no wisdom greater than kindness."
next prev parent reply other threads:[~1996-05-10 4:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-25 4:00 Directory Prompt dhinkle
1996-05-04 4:00 ` Martin Hannigan
1996-05-06 4:00 ` Thomas Leitner
1996-05-06 4:00 ` Timothy M. Wieman
[not found] ` <4mnec0$r34@gli <4mt0vt$4cu@csugrad.cs.vt.edu>
1996-05-10 4:00 ` John C. Fowler
1996-05-10 4:00 ` John P. Speno [this message]
1996-05-11 4:00 ` John Hascall
1996-05-07 4:00 ` Torsten Robert Kirschner
1996-05-07 4:00 ` Dan Pop
1996-05-07 4:00 ` Kevin MacNeil
1996-05-09 4:00 ` Jeff Aitken
1996-05-14 4:00 ` David A. Lyons
1996-05-09 4:00 ` Ken Brown
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