[comp.unix.aix] Re : How To : Set PS1 to show current directory

moore@emily.uvm.edu (Bryan Moore) (04/18/91)

I do this in the C Shell by adding these two lines to my .cshrc
file.

set prompt = "$cwd>"
alias cd  'cd \!* ; set prompt = "$cwd>"'

BRYAN R. MOORE          	    |   "Last night I had that same old dream
EMAIL: moore@uvm-gen.uvm.edu	    |    it rocked me in my sleep, it gave me
USMAIL: 12 Waybury Rd. Colchester,  |    the impression the sandman plays for 
  Vermont 05446                     |    keeps..."   Larry Norman