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?

link|improve this question
feedback

migrated from stackoverflow.com Jan 21 '10 at 13:49

This question came from our site for professional and enthusiast programmers.

2 Answers

PROMPT='%d%>:%{\e[0m%}'

link|improve this answer
feedback
PROMPT="%~$ "

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.