Git and Python virtualenv promptFebruary 11, 2021
Another note-to-self, mostly. When working with Git and Python virtual environments, it’s nice to have a shell prompt that’s informative. I have been using various prompts in the past, some of which were great to use. After I reinstalled my MacBook I ended up not knowing what I’d been using up till then. Searching for this prompt led me to the discovery of this great prompt. I’ve been using it since I discovered it, and I still like it today :)
The prompt is very informative about Git repositories (if you happen to be in one) and virtual environments, if one is active.