diff options
-rw-r--r-- | gitignore | 15 | ||||
-rwxr-xr-x | install | 2 |
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* + + @@ -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 |