summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-01-23 12:25:53 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-01-23 12:26:21 +0100
commitfa53d07ab721c9d873d888b0181b297e231f42e6 (patch)
tree5090c5ab8f081546b84e253f0a898ffb7986eaa7
parentc301cb8074967a0e146d3511d1d6b5cd87a915d4 (diff)
Add global .gitignore file
-rw-r--r--gitignore15
-rwxr-xr-xinstall2
2 files changed, 16 insertions, 1 deletions
diff --git a/gitignore b/gitignore
new file mode 100644
index 0000000..aae79c9
--- /dev/null
+++ b/gitignore
@@ -0,0 +1,15 @@
+# knitr cache directories
+*_cache/
+
+# libreoffice lock files
+.~lock*#
+
+*.tmp
+
+# Microsoft Office temporary files
+~$*.doc*
+~$*.xls*
+~$*.xlk*
+~$*.ppt*
+
+
diff --git a/install b/install
index e4d4e82..c519e97 100755
--- a/install
+++ b/install
@@ -6,7 +6,7 @@ cd $(dirname $BASH_SOURCE)
BASE=$(pwd)
# dotfiles to install
-for dotfile in bashrc vimrc gitconfig Rprofile Renviron tmux.conf reportbugrc; do
+for dotfile in bashrc vimrc gitconfig gitignore Rprofile Renviron tmux.conf reportbugrc; do
mkdir -pv bak
[ -e ~/.$dotfile ] && mv -v ~/.$dotfile bak/.$dotfile
ln -sfv $BASE/$dotfile ~/.$dotfile

Contact - Imprint