Mercurial > dotfiles
changeset 32:d07ca3d7f36c
Updated Windows scripts
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 22 Nov 2011 11:19:41 -0800 |
parents | 021b1cee8178 |
children | 8c7a7782a2a1 |
files | install.cmd uninstall.cmd |
diffstat | 2 files changed, 16 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/install.cmd Mon Nov 21 21:32:27 2011 -0800 +++ b/install.cmd Tue Nov 22 11:19:41 2011 -0800 @@ -1,6 +1,11 @@ -rem @echo off +@echo off +setlocal + +set CWD=%~dp0 -mklink /D "%userprofile%\vimfiles" "%~dp0\vim" -mklink "%userprofile%\_vimrc" "%~dp0\vim\vimrc" -mklink "%userprofile%\mercurial.ini" "%~dp0\hgrc\hgrc" +mklink /D "%userprofile%\vimfiles" "%CWD%vim" +mklink "%userprofile%\_vimrc" "%CWD%vim\vimrc" +echo %%include %CWD%hgrc\hgrc > "%userprofile%\mercurial.ini" +echo [extensions] >> "%userprofile%\mercurial.ini" +echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini"