Prompts and cwd...

Mr. Loony daffner at ECN.PURDUE.EDU
Fri Nov 2 06:22:45 AEST 1990


I have the following in my .login to put the cwd in the prompt:

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

  If your system does not set cwd, then simply replace $cwd with `pwd`

I have used both at one point or another, and they have worked...
Hope this helps...

    Larry 

daffner at ecn.purdue.edu



More information about the Comp.unix.shell mailing list