From 2da3c5e5721e89d0da23a3d6e635cb669b654b25 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Thu, 16 Jun 2016 21:41:25 +0200 Subject: [PATCH] Undo part of last commit --- .vimrc | 3 ++- README.md | 13 +++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.vimrc b/.vimrc index bb82207..f2c84f2 100644 --- a/.vimrc +++ b/.vimrc @@ -185,7 +185,8 @@ map v :so ~/.vimrc " -------------------------- if has("autocmd") filetype plugin indent on -autocmd bufnewfile,bufreadpost *.md set filetype=markdown + autocmd bufnewfile,bufread *.md set filetype=markdown + autocmd bufnewfile,bufread *.gradle set filetype=groovy endif " has("autocmd") " }}}1 " section: visual {{{1 diff --git a/README.md b/README.md index 5b42f27..6d3286b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ -# dotfiles +# dotfiles What you need to do on the new box is this: $ cd $HOME - $ git init - $ git remote add origin https://github.com/jannikz/dotfiles.git - $ git fetch origin master - $ git reset --hard origin/master - $ git branch -u origin/master + $ alias dot='git --git-dir=$HOME/.dot --work-tree=$HOME' + $ git init --bare $HOME/.dot + $ dot remote add origin git@bitbucket.org:jannikz/dotfiles.git + $ dot fetch + $ dot reset --hard origin/master + $ dot branch -u origin/master -- 2.43.0