zac anger
Follow

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

· Web · 0 · 0

(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.)

0
0
@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.
0
1

@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

0
0
@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
0
1
Mastodon

This page describes the mastodon.social instance - wondering what Mastodon is? Check out joinmastodon.org instead! In essence, Mastodon is a decentralized, open source social network. This is just one part of the network, run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!

Hero image by @b_cavello