Skip to content

Instantly share code, notes, and snippets.

@kevonc
Last active August 29, 2015 14:02
Show Gist options
  • Save kevonc/719e128abbac2c28aa8b to your computer and use it in GitHub Desktop.
Save kevonc/719e128abbac2c28aa8b to your computer and use it in GitHub Desktop.
terminal - show computer, path, git branch, and # of commits for pushing or pulling
# source this file
wget https://github.com/ktaragorn/dotfiles/blob/master/bashrc.d/scm_ps1
brew install bash-completion
# copy into bash_profile
source scm_ps1
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment