]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/commit
.bashrc: Use __git_ps1() in $PS1
authorTony Duckles <tony@nynim.org>
Sat, 22 Dec 2012 18:52:06 +0000 (12:52 -0600)
committerTony Duckles <tony@nynim.org>
Sat, 22 Dec 2012 18:57:08 +0000 (12:57 -0600)
commit8b96472116db7167aca29c63204e2d0d4c8b7985
tree523ac46e38358cf13ac87dbafb246fe78e3136c3
parentbd6233b9f25690e63ff9ddf4f22b3ccc10c849ff
.bashrc: Use __git_ps1() in $PS1

Use __git_ps1() to display current branch info in bash prompt (PS1).
* Never show this for the $HOME (dotfiles) repo since it would get
  obnoxious.
* Check a (custom) `git config` variable to allow repo-specific
  exclusion of __git_ps1() handling.
.bashrc