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
add comment

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%}'

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

share|improve this answer
add comment

Your Answer

 
discard

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.