Ā Letā€™s have a little fun on a Friday. Whatā€™s theĀ command prompt on your local machine?

via Ryan

I useĀ Zsh, so I also have a right prompt.Ā Most of this is pretty obvious, but I’ll explain some of the cooler things that might not be.

  • dashboard is the current branch I’m on in a git repository
  • fda1011 are the first 7 characters of the hash of the current commit
  • The X means there are uncommitted changes
  • The arrow is green when the return code of the last command was 0 and red otherwise
  • cd automatically calls ls as well

It’s all available on Github.