Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently saw this in a demonstration online in someones Terminal:

Path bar image

Notice the path-bar-like style of the prompt, any ideas how you can get that? Some kind of customisation I'd assume?

share|improve this question

You're looking for Powerline which originally came about as a Vim plugin (although the bash version has a different author). You need patched fonts to deal with the symbols. Like these


This screenshot is also using the Solarized theme I believe.

share|improve this answer
That looks like it, any idea what theme it is? – Joshua Jul 11 '13 at 20:47
@Joshua see edit, my theme of choice as well – Keith Smiley Jul 12 '13 at 1:23

The prompt is defined by the PS1 environment variable which you can define in your ~/.profile file. For example to make it simply a "$" put this line in your .profile:

export PS1="$"

Then "source" (source ~/.profile) the file to make the changes active if you've edited it in a terminal or just open a new Terminal.

Details of the fancy special things you can insert there can be found by searching PS1, a good set of examples can be found at The Geek Stuff most examples are for Linux but it's nearly the same (possibly identical not 100% sure though)

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.