For me (csh shell) this works, (prints a command-number and the dir): alias cd 'cd \!*; set prompt = "! `pwd`> "' set prompt = "! `pwd`> " best of luck.