Permalink
Browse files

adding gitconfig and git autocomplete

Signed-off-by: robert mcguinness <robert.mcguinness.iii@gmail.com>
  • Loading branch information...
1 parent 3aadfac commit 8183dd93464c84743e048a61c8947c21ff96946b @robmcguinness committed Apr 21, 2012
Showing with 27 additions and 0 deletions.
  1. +7 −0 .bash_profile
  2. +20 −0 .gitconfig
View
@@ -36,6 +36,13 @@ alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'"
alias gc='git clone'
alias gp='git pull'
+# Autocomplete for 'g' as well
+complete -o default -o nospace -F _git g
+
#Generic Colouriser is a great utility which can be used for colourising many different types of output and log files
source "`brew --prefix grc`/etc/grc.bashrc"
+
+if [ -f `brew --prefix`/etc/bash_completion ]; then
+ . `brew --prefix`/etc/bash_completion
+fi
View
@@ -0,0 +1,20 @@
+[user]
+ name = robert mcguinness
+ email = robert.mcguinness.iii@gmail.com
+[color]
+ ui = auto
+[mergetool]
+ keepBackup = true
+[core]
+ editor = subl
+ whitespace = trailing-space,space-before-tab
+[advice]
+ pushNonFastForward = false
+[diff]
+ mnemonicprefix = true
+[merge]
+ stat = true
+[difftool]
+ prompt = false
+[difftool "Kaleidoscope"]
+ cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\"

0 comments on commit 8183dd9

Please sign in to comment.