pwd prompts in unix

The Grey Wolf greywolf at unisoft.UUCP
Fri Jun 28 12:34:26 AEST 1991


/* <1991Jun25.033343.21971 at magnus.acs.ohio-state.edu> by reich at magnus.acs.ohio-state.edu (A Minor Diety)
 * In article <1991Jun24.140512.6143 at uokmax.ecn.uoknor.edu> jkmedcal at uokmax.ecn.uoknor.edu (Jeff Medcalf) writes:
 * |In tcsh, I use the following to shell commands in my .cshrc:
 * |
 * |set prompt=%m\[%c\]\{%!\}\:
 * |set prompt2=%m\[%c\]\{%!\}\?
 * |
 * |%m is replaced by the machine name, %c is replaced by the last element of the
 * |cwd, and %! is replaced by the history number.

Why don't you do something like

set prompt=".> "

Seriously speaking, what is this drek doing in c.u.w?


-- 
# "Religion is a weapon invented by the sheep to keep the wolves in line."
# greywolf at unisoft.com



More information about the Comp.unix.wizards mailing list