Csh prompt problem
Sam Shen
laba-3hd at e260-3a.berkeley.edu
Mon Feb 6 21:24:16 AEST 1989
(I wrote in a previous article about how I keep the current directory
in my prompt and if I cd into a directory named * I get a wildcard
expanded prompt.)
I worked on this for about 45 mins several days ago and, believe it or not,
silly me thought of the answer about 2 hours after I posted. Oops.
Anyhow, if I do
alias cd "set noglob; chdir \!*; prom; unset noglob"
It works. It has to be chdir by the way. If it's cd then the csh thinks
it's an Alias Loop.
Sam Shen
laba-3hd at web.berkeley.edu
More information about the Comp.unix.wizards
mailing list