# HG changeset patch # User Edho Arief # Date 1361157680 -32400 # Node ID e0f9a54b9dce1dc1c60a835e845e6ce55e04d6c7 # Parent 2f5580798bbbf8efa3abb8f32ad369794894b833 Add global gitignore. diff -r 2f5580798bbb -r e0f9a54b9dce rc/gitconfig --- a/rc/gitconfig Mon Feb 18 12:19:01 2013 +0900 +++ b/rc/gitconfig Mon Feb 18 12:21:20 2013 +0900 @@ -9,3 +9,5 @@ default = current [color] ui = true +[core] + excludesfile = ~/.gitignore_global diff -r 2f5580798bbb -r e0f9a54b9dce rc/gitignore_global --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rc/gitignore_global Mon Feb 18 12:21:20 2013 +0900 @@ -0,0 +1,4 @@ +# vim temporary files +# Source: https://github.com/github/gitignore/blob/master/Global/vim.gitignore +.*.s[a-w][a-z] +*~ diff -r 2f5580798bbb -r e0f9a54b9dce setup --- a/setup Mon Feb 18 12:19:01 2013 +0900 +++ b/setup Mon Feb 18 12:21:20 2013 +0900 @@ -129,6 +129,7 @@ _rc "${1}" "../bin" ".ecos_bin" _rc "${1}" "gemrc" ".gemrc" _rc "${1}" "gitconfig" ".gitconfig" + _rc "${1}" "gitignore_global" ".gitignore_global" _rc "${1}" "hgrc" ".hgrc" _rc "${1}" "inputrc" ".inputrc" _rc "${1}" "tmux.conf" ".tmux.conf"