git stash pancakes
Do you ever run git stash
and then forget to pop your changes back
to the working directory?
Well I do. All the time. So I decided to modify my prompt to display a special character whenever I stash changes in a Git repository.
But these are civilized times. I have all of Unicode available to me. Guess which character I decided to use?
That's right, I chose pancakes. Because git stash
is a stack.
This is by far my proudest moment of shell scripting idiocy.
If you're curious, the code is here.