I've wasted literal years dabbling in beautiful looking shells (#fish / #zsh), or trying to enhance my #bash with needlessly bloated decoration frameworks (oh-my-bash/starship), I've decided to roll my own bash prompt in 20 lines.

It shows everything I need: user and host only over ssh, active environments (#conda, venv, or #guix), and the #git branch if I'm in a project.

That's it. Runs quick and easy.

Just add the code (see the alt/hover text in the code image) to your #bashrc, and voila!

@mtekman it's beautiful in more ways than one. love it.

having run into problems with python-based prompt (powerline) because of incompatibilities between different venvs / global setup and being too lazy / minimalist to fix them, i'll just use your solution (only slightly modified colors).

thanks for sharing!

@tivasyk thanks! I had my problems with powerline too, despite it being a nice aesthetic - I think minimalism really is the answer here. I'm still not settled on the colours, so I would be greatly interested in what you choose