comparison install.cmd @ 139:2e1f9a40a36a

Install Vimperator and Console2 settings on Windows.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 20 Oct 2013 20:57:50 -0400
parents 20c49d51f7e3
children 1ba0daaa8e4e
comparison
equal deleted inserted replaced
138:337a1bfbd50a 139:2e1f9a40a36a
33 set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort. 33 set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort.
34 del /Q "%userprofile%\.gitconfig" 34 del /Q "%userprofile%\.gitconfig"
35 ) 35 )
36 copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig" 36 copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig"
37 37
38 :: Web Browser
39 if exist "%userprofile%\_vimperatorrc" (
40 set /P confirm=Will delete existing "%userprofile%\_vimperatorrc". OK with that? Press CTRL-C to abort.
41 del /Q "%userprofile%\_vimperatorrc"
42 )
43 echo source %CWD:\=/%vimperatorrc > "%userprofile%\_vimperatorrc"
44
45 :: Console 2
46 if exist "%appdata%\Console\console.xml" (
47 set /P confirm=Will delete existing Console2 settings. OK with that? Press CTRL-C to abort.
48 del /Q "%appdata%\Console\console.xml"
49 )
50 if not exist "%appdata%\Console" mkdir "%appdata%\Console"
51 copy "%CWD%console.xml" "%appdata%\Console\console.xml"