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 callsls
as well
It’s all available on Github.