Mercurial > dotfiles
annotate install.cmd @ 51:a6bc310e7015
First version of lawrencium plugin.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 07 Dec 2011 23:32:39 -0800 |
parents | 92926116c4dd |
children | 8021bd1438f6 |
rev | line source |
---|---|
32
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
1 @echo off |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
2 setlocal |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
3 |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
4 set CWD=%~dp0 |
23
4b35035cb781
Added script to create Windows symlinks.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 |
32
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
6 mklink /D "%userprofile%\vimfiles" "%CWD%vim" |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
7 mklink "%userprofile%\_vimrc" "%CWD%vim\vimrc" |
23
4b35035cb781
Added script to create Windows symlinks.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 |
32
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
9 echo %%include %CWD%hgrc\hgrc > "%userprofile%\mercurial.ini" |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
10 echo [extensions] >> "%userprofile%\mercurial.ini" |
d07ca3d7f36c
Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents:
28
diff
changeset
|
11 echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini" |
34
c3a77eaa467a
Added 'onsub' extension for Mercurial.
Ludovic Chabant <ludovic@chabant.com>
parents:
32
diff
changeset
|
12 echo onsub = %CWD:\=/%lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini" |
40
92926116c4dd
Added link to global hgignore.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
13 |
92926116c4dd
Added link to global hgignore.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
14 mklink "%userprofile%\mercurial_ignore" "%CWD%hgrc\hgignore" |
92926116c4dd
Added link to global hgignore.
Ludovic Chabant <ludovic@chabant.com>
parents:
34
diff
changeset
|
15 |