add windows install

This commit is contained in:
AdeAttwood 2016-11-20 09:22:46 +00:00
parent 753b2b5966
commit f1d9b1921b
2 changed files with 21 additions and 0 deletions

View file

@ -7,3 +7,10 @@ chmod +x ~/.dotfiles/install/install_unix.sh
~/.dotfiles/install/install_unix.sh
```
Install Windows
```
git clone https://github.com/AdeAttwood/Dotfiles.git %USERPROFILE%\_dotfiles
%homepath%\_dotfiles\install\install_win10.bat
```

14
install/install_win10.bat Normal file
View file

@ -0,0 +1,14 @@
git clone https://github.com/AdeAttwood/Dotfiles.git %USERPROFILE%\_dotfiles
:: vim
chdir %homepath%\_dotfiles
git submodule init
git submodule update
chdir %homepath%
mkdir %homepath%\vimfiles
mklink /D %homepath%\vimfiles\bundle %homepath%\_dotfiles\dotfiles\vim\bundle
mklink /D %homepath%\vimfiles\autoload %homepath%\_dotfiles\dotfiles\vim\autoload
mklink %homepath%\_vimrc %homepath%\_dotfiles\dotfiles\vimrc