Skip to content

Commit

Permalink
Add latest git-prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
copyhacker committed Nov 8, 2011
1 parent 2dc3d0f commit 3c4796e
Show file tree
Hide file tree
Showing 4 changed files with 711 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DOTROT_HOME = File.dirname(__FILE__)
DOTROT_BACKUPS = File.join(DOTROT_HOME, 'backups')

# TODO: Move to yaml or somesuch
DOTROT_FILES = %w{ bash_profile profile bashrc viminfo boom gitconfig git-prompt.conf }
DOTROT_FILES = %w{ bash_profile profile bashrc viminfo boom gitconfig git-prompt.conf git-prompt.sh }

require "#{DOTROT_HOME}/lib/dotrot"

Expand Down
4 changes: 2 additions & 2 deletions dot.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ alias glg='git log --pretty=oneline | grep' # search commits
alias be='bundle exec'
alias b='bundle exec'

alias git=hub
alias git='~/bin/hub'

# Shortcuts
alias ks='cd ~/Sites/kickserv'
Expand All @@ -35,4 +35,4 @@ export NODE_PATH=/usr/local/lib/node

if [ -s ~/.rvm/scripts/rvm ] ; then source ~/.rvm/scripts/rvm ; fi

[[ $- == *i* ]] && . ~/code/git-prompt/git-prompt.sh
if [ -s ~/.git-prompt.sh ] ; then [[ $- == *i* ]] && . ~/.git-prompt.sh ; fi
Loading

0 comments on commit 3c4796e

Please sign in to comment.