Why #linux Developers Should Use #gitprompt
▻https://hackernoon.com/why-linux-developers-should-use-gitprompt-8d654e5b87e1?source=rss----3a8
For the past 23 years, I’ve been a Linux developer (I started with Linux version 1.2.1). I live in the command prompt. Because of that, I want the prompt itself to look nice, and to provide useful information at a glance. Therefore, I wrote a script called gitprompt, which customizes the prompt. I’ve been using it at work for a while, and a number of my coworkers noticed it and asked for a copy. So since I know there’s at least some amount of interest in it, I’m publishing this brief article about it, in case you want to try it out for yourself.Here’s what it looks like, in its most basic form:“21:53” is the time, followed by my username (“enfors”), and the name of my machine (“shodan”). After that, there’s the current directory — nothing unusual so far. The cursor itself is on the next line to (...)