diff options
-rw-r--r-- | gitconfig | 9 | ||||
-rwxr-xr-x | install | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..936df37 --- /dev/null +++ b/gitconfig @@ -0,0 +1,9 @@ +# vim: ft=gitconfig +[user] + name = Johannes Ranke + email = jranke@uni-bremen.de +[push] + default = simple +[core] + excludesfile = ~/.gitignore + autocrlf = input @@ -6,7 +6,7 @@ cd $(dirname $BASH_SOURCE) BASE=$(pwd) # dotfiles to install -for dotfile in bashrc vimrc tmux.conf; do +for dotfile in bashrc vimrc gitconfig tmux.conf; do mkdir -pv bak [ -e ~/.$dotfile ] && mv -v ~/.$dotfile bak/.$dotfile ln -sfv $BASE/$dotfile ~/.$dotfile |