Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Thanking @duffomelia and @matthewtodd and @tpope for auto ctags.

  • Loading branch information...
commit c980e5f0741ede9f19d438dbd126dda95763a5af 1 parent 2f85711
@aiwilliams authored
View
6 .gitconfig
@@ -1,6 +1,8 @@
[user]
name = Adam Williams
email = adam@thewilliams.ws
+[init]
+ templatedir = ~/.gittemplate
[color]
status = auto
diff = auto
@@ -14,7 +16,7 @@
tool = opendiff
[core]
legacyheaders = false
- excludesfile = /Users/aiwilliams/.gitignore
+ excludesfile = ~/.gitignore
[repack]
usedeltabaseoffset = true
[push]
@@ -23,6 +25,6 @@
[apply]
whitespace = nowarn
[svn]
- authorsfile = /Users/aiwilliams/.gitusers
+ authorsfile = ~/.gitusers
[push]
default = tracking
View
3  .gittemplate/hooks/ctags
@@ -0,0 +1,3 @@
+#!/bin/sh
+rm -f .git/tags
+ctags --tag-relative -Rf.git/tags --exclude=.git --languages=-javascript,sql
View
2  .gittemplate/hooks/post-checkout
@@ -0,0 +1,2 @@
+#!/bin/sh
+.git/hooks/ctags >/dev/null 2>&1 &
View
2  .gittemplate/hooks/post-commit
@@ -0,0 +1,2 @@
+#!/bin/sh
+.git/hooks/ctags >/dev/null 2>&1 &
View
2  .gittemplate/hooks/post-merge
@@ -0,0 +1,2 @@
+#!/bin/sh
+.git/hooks/ctags >/dev/null 2>&1 &
View
4 .gittemplate/hooks/post-rewrite
@@ -0,0 +1,4 @@
+#!/bin/sh
+case "$1" in
+ rebase) exec .git/hooks/post-merge ;;
+esac
View
1  setup.sh
@@ -19,6 +19,7 @@ ln -sfv $PWD/.ackrc $HOME/.ackrc
ln -sfv $PWD/.gitconfig $HOME/.gitconfig
ln -sfv $PWD/.gitignore $HOME/.gitignore
ln -sfv $PWD/.gitusers $HOME/.gitusers
+ln -sfv $PWD/.gittemplate $HOME/.gittemplate
#######################

1 comment on commit c980e5f

@matthewtodd

Sweet, Adam. Enjoy!

Please sign in to comment.
Something went wrong with that request. Please try again.