aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-03-11 16:19:19 +0100
committerDuncaen <mail@duncano.de>2016-03-17 19:01:28 +0100
commite34b3a31efaa874d4e5e6897dbba1493ed3bbae7 (patch)
treee54d87b17436a0dedc6c08d75b0f3de0e9ba8d1e
parent10964d5aa34b57851c90a99ccf5dbf665ea2e22b (diff)
downloaddotfiles-e34b3a31efaa874d4e5e6897dbba1493ed3bbae7.tar.gz
git: add global gitignore
-rw-r--r--gitconfig1
-rw-r--r--gitignore_global1
-rwxr-xr-xinstall.sh3
3 files changed, 5 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
index 85b3153..4c5d4f4 100644
--- a/gitconfig
+++ b/gitconfig
@@ -17,3 +17,4 @@
[core]
pager = less -r
+ excludesfile = /home/duncan/.gitignore_global
diff --git a/gitignore_global b/gitignore_global
new file mode 100644
index 0000000..07d94cc
--- /dev/null
+++ b/gitignore_global
@@ -0,0 +1 @@
+.ropeproject/
diff --git a/install.sh b/install.sh
index bc405c4..ddd750f 100755
--- a/install.sh
+++ b/install.sh
@@ -30,6 +30,9 @@ ln -sfv $dotfiles/inputrc /home/$user/.inputrc
rm -v /home/$user/.gitconfig
ln -sfv $dotfiles/gitconfig /home/$user/.gitconfig
+rm -v /home/$user/.gitignore_global
+ln -sfv $dotfiles/gitignore_global /home/$user/.gitignore_global
+
rm -v /home/$user/.xbps-src.conf
ln -sfv $dotfiles/xbps-src.conf /home/$user/.xbps-src.conf