Bourne Shell Question?

Dan Powers dap9702 at dasys1.UUCP
Wed Feb 1 05:23:39 AEST 1989


Hi All,
  Does anyone know how to get a prompt in Bourne Shell that contains the
current working directory (pwd). I can get this to work in C shell by 
specifing an alias for cd as 'cd \!*;set prompt="[`pwd`]% "'. Any and all
help would be appreciated.
DP

-- 
Dan Powers
Big Electric Cat Public UNIX
..!cmcl2!phri!dasys1!dap9702



More information about the Comp.unix.questions mailing list