I posted this to Flickr earlier this evening, but some people wanted to know how I did it so here you go:


If you are on a Mac the command you want to run to put a burger in your Bash shell prompt like mine is:

export PS1="\w 🍔  "

(which will eventually end up looking like
export PS1="\w <U+1F354>  ")

That string is \w for “current working directory”, a space, an emoji burger, and two more spaces for padding.

If you want it to be permanent put that line in your .profile or .bash_profile.

For my prompt I removed my system user name and host. People use those to know which computer they’re on and which user they are, but I know I am me and I am on the burger computer so I removed them. Here are some other options.

  • \d – Current date
  • \t – Current time
  • \h – Host name
  • # – Command number
  • \u – User name
  • \W – Current working directory (ie: Desktop/)
  • \w – Current working directory, full path (ie: /Users/Admin/Desktop)

You can learn more here and there are even more examples here.

before this i wrote and…back to twitter after this i wrote timebar for mac os x


The best fresh roasted coffee right to your door. It's easy! Give Tonx a try…