-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.cmd
27 lines (22 loc) · 928 Bytes
/
install.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pushd %userprofile%
del .bashrc
mklink .bashrc dotfiles\.bashrc.win
del .inputrc
mklink .inputrc dotfiles\.inputrc
del .vimrc
mklink .vimrc dotfiles\.vimrc
del .minttyrc
mklink .minttyrc dotfiles\.minttyrc
del .gitconfig
mklink .gitconfig dotfiles\.gitconfig
mklink %cd%\vimfiles %cd%\dotfiles\.vim /D
del %appdata%\Code\User\settings.json
mklink %appdata%\Code\User\settings.json %CD%\dotfiles\Code\User\settings.json
del %appdata%\Code\User\.vscodestyles.css
mklink %appdata%\Code\User\.vscodestyles.css %CD%\dotfiles\Code\User\.vscodestyles.css
del %appdata%\Code\User\keybindings.json
mklink %appdata%\Code\User\keybindings.json %CD%\dotfiles\Code\User\keybindings.json
rd /Q /S %appdata%\Code\User\snippets\
mklink /D %appdata%\Code\User\snippets %CD%\dotfiles\Code\User\snippets
mklink %localappdata%\packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\localState\settings.json %userprofile%\dotfiles\settings.json
popd