From b4a5ff8eb5652d65654c49b37996555527c61988 Mon Sep 17 00:00:00 2001 From: "Ein Verne(einverne)" Date: Wed, 29 Apr 2015 12:16:44 +0800 Subject: [PATCH 1/2] modify vimrc --- _vimrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/_vimrc b/_vimrc index 972b894..5d0b8a5 100644 --- a/_vimrc +++ b/_vimrc @@ -2,8 +2,13 @@ set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize -set rtp+=$VIM/vimfiles/bundle/Vundle.vim -call vundle#begin('$VIM/vimfiles/bundle') +if has("win32") + set rtp+=$VIM/vimfiles/bundle/Vundle.vim + call vundle#begin('$VIM/vimfiles/bundle') +else + set rtp+=~/.vim/bundle/Vundle.vim + call vundle#begin() +endif " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') From 2a6598fa15671860286f0cf2bf9641accf9b3e9e Mon Sep 17 00:00:00 2001 From: "Ein Verne(einverne)" Date: Wed, 29 Apr 2015 12:17:12 +0800 Subject: [PATCH 2/2] add curl.cmd --- curl.cmd | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 curl.cmd diff --git a/curl.cmd b/curl.cmd new file mode 100644 index 0000000..2753fc4 --- /dev/null +++ b/curl.cmd @@ -0,0 +1,12 @@ +@rem Do not use "echo off" to not affect any child calls. +@setlocal + +@rem Get the abolute path to the parent directory, which is assumed to be the +@rem Git installation root. +@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI +@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH% + +@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH% +@if not exist "%HOME%" @set HOME=%USERPROFILE% + +@curl.exe %* \ No newline at end of file