Skip to content

Instantly share code, notes, and snippets.

@next2you
Created August 25, 2010 09:55
Show Gist options
  • Save next2you/549210 to your computer and use it in GitHub Desktop.
Save next2you/549210 to your computer and use it in GitHub Desktop.
dot files for git shell
# prerequisite:
# mkdir -p ~/Library/init; cd ~/Library/init; git clone http://github.com/marcoow/dotfiles.git
source ~/Library/init/dotfiles/.bash_completion.d/git-completion.bash
export PS1='\[\033[1;39m\]\u@\W$(__git_ps1 " [\[\033[1;34m\]%s\[\033[1;39m\]]") > '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment