Quantcast
Channel: Developments » bash
Viewing all articles
Browse latest Browse all 6

An improved PS1 for Git in Bash

$
0
0
Last year I updated my bash prompt (PS1) to include the active git branch name. A few months ago I added to the the active repository name. So here’s an example of my PS1 when I’m in a git tracked directory on the master branch: And here it is when I have other remote repositories [...]

Viewing all articles
Browse latest Browse all 6

Trending Articles