Created
August 13, 2010 09:12
-
-
Save gaving/522595 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 37fe86fdbf48aae5e7fdb9bdba9f38e781b84617 Mon Sep 17 00:00:00 2001 | |
| From: Gavin Gilmour <gavin.gilmour@removed> | |
| Date: Fri, 13 Aug 2010 10:07:21 +0100 | |
| Subject: [PATCH 5/5] changes | |
| Signed-off-by: Gavin Gilmour <gavin.gilmour@removed> | |
| --- | |
| .vimrc | 9 ++------- | |
| Rakefile | 2 +- | |
| 2 files changed, 3 insertions(+), 8 deletions(-) | |
| mode change 100644 => 100755 .vimrc | |
| mode change 100644 => 100755 Rakefile | |
| diff --git a/.vimrc b/.vimrc | |
| old mode 100644 | |
| new mode 100755 | |
| index bc1c6cc..778d8e5 | |
| --- a/.vimrc | |
| +++ b/.vimrc | |
| @@ -46,12 +46,7 @@ endif | |
| " {{{1 Autocmds | |
| augroup vimrcEx | |
| - | |
| -if (has("win32") || has("win64")) | |
| - autocmd! BufWritePost _vimrc source % | |
| -elseif has('unix') | |
| - autocmd! BufWritePost .vimrc source % | |
| -endif | |
| +autocmd! BufWritePost .vimrc source % | |
| autocmd BufReadPost * | |
| \ if line("'\"") > 0 && line("'\"") <= line("$") | | |
| @@ -148,7 +143,7 @@ set tags=tags;/ | |
| set textwidth=79 | |
| set ttyfast | |
| set viminfo='100,f1 | |
| -set wildignore+=*.o,*.r,*.class,*.pyc,*.so,*.sl,*.tar,*.tgz,*.gz,*.dmg,*.zip,*.pdf,CVS/,.svn/,.git/ | |
| +set wildignore+=*.o,*.r,*.class,*.pyc,*.so,*.sl,*.tar,*.tgz,*.gz,*.dmg,*.zip,*.pdf,*CVS/*,*.svn/*,*.git/*,*.toc,*.aux,*.dvi,*.log | |
| set wildmode=full | |
| set wildmenu | |
| diff --git a/Rakefile b/Rakefile | |
| old mode 100644 | |
| new mode 100755 | |
| index 811a5f7..5fcec6f | |
| --- a/Rakefile | |
| +++ b/Rakefile | |
| @@ -37,7 +37,7 @@ task :copy do | |
| home = ENV['HOME'] || '~' | |
| dir = "#{home}/Dotfiles" | |
| - sh "mv #{dir} #{dir}_bak_#{Date.today.to_s}" | |
| + sh "cp -r #{dir} #{dir}_bak_#{Date.today.to_s}" | |
| sh <<-SH | |
| rsync \ | |
| -- | |
| 1.7.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment