Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

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

2 Answers 2


share|improve this answer
PROMPT="%~$ "

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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