I've recently switched from bash to zsh, but it annoys me that I can't see what directory I'm in (MacOSX)
how do I get 'pwd' to show up in my prompt?
migrated from stackoverflow.com Jan 21 '10 at 13:49
This question came from our site for professional and enthusiast programmers.
I know It's been a while, but I just put this answer here as it is another approach. You can do it like this too:
P.S: I recommend you to use oh-my-zsh