aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMountainMan <43313373+MountainMan1312@users.noreply.github.com>2023-04-02 21:49:37 -0400
committerMountainMan <43313373+MountainMan1312@users.noreply.github.com>2023-04-02 21:49:37 -0400
commit4b006b55c4c3610812353bc36e18f1d2eb59f56d (patch)
treed85b803fe7497fa5b4555909ca9c7318bb08c04c /README.md
parentFix formatting in `dotfiles/home/.bashrc` (diff)
downloaddotfiles.old-4b006b55c4c3610812353bc36e18f1d2eb59f56d.tar.gz
dotfiles.old-4b006b55c4c3610812353bc36e18f1d2eb59f56d.tar.bz2
dotfiles.old-4b006b55c4c3610812353bc36e18f1d2eb59f56d.zip
Add git branch to `$PS1` in `dotfiles/home/.bashrc`
It's nice to see which branch you're in at-a-glance. This change makes it so that, if you are in a git repo, the `$PS1` displays which branch is active. If not, it is reduced to a single space. I would like to find a way to conditionally add a space between (BRANCH) and DIR, omitting it if not in a git repo. This would make it look nicer outside of git repos.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions