directory inclusion in prompt
Ashish Yadav
yadav at andromeda.rutgers.edu.rutgers.edu
Tue May 16 02:20:07 AEST 1989
In article <11427 at polyslo.CalPoly.EDU> steve at polyslo.CalPoly.EDU (Steve DeJarnett) writes:
> You can set your prompt, but it won't update when you move around.
>To get this, you need to change 'cd' (and popd and pushd) to reevaluate your
>$prompt variable everytime you move somewhere. Use this line to do that:
>
> alias cd 'chdir \!* ; set prompt = "\! $cwd -> " ; ls -FC'
Works Great !!!!!!
thanx a lot ...
Ash.
____ ____ ____ _____ _____ Ashish Yadav ( President )
/ / / / / / ***************************
/ / / /___ / / yadav at andromeda.rutgers.edu
/ / / / / / ayadav at topaz.rutgers.edu
/____ /___/ ____/ __/__ __/__ ayadav at draco.BITNET
More information about the Comp.sys.pyramid
mailing list