summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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