Follow

the two hardest problems in computer science are naming things and being happy with your bash prompt

(i'm ditching liquidprompt because it makes things really slow in large git repos and on old computers, so i have to remember what "tput" is and shit.)

@zacanger I quite settled with a powerline-style one, allows me to have one coloring of the host per machine (some are needing two/three in the name) and a different background between server and client.

@lanodan i've seen the powerline prompts and they seem to be really powerful, but also more complex than i need. i'm mostly concerned with git status nowadays, since i rarely use any other version control and almost never ssh into anything anymore

@zacanger I have the name of the branch in my powerline, but I think you can use ``git status -s`` to get something like the count of modified files.
It’s probably a bit outdated but here is my shells rc (it’s sourced in .mkshrc and .bashrc). https://gitlab.com/lanodan/dotfiles/blob/hp2125/.common.sh
Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!