-
Notifications
You must be signed in to change notification settings - Fork 0
/
create-symlinks.bat
46 lines (31 loc) · 1.58 KB
/
create-symlinks.bat
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo off
if not exist "%USERPROFILE%\.config" mkdir "%USERPROFILE%\.config"
REM clink
mklink /d "%USERPROFILE%\AppData\Local\clink" "%DOTFILES%\windows\clink"
"C:\Program Files (x86)\clink\\clink.bat" autorun install -- -q
REM NeoVIM
mklink /d "%USERPROFILE%\AppData\Local\nvim" "%DOTFILES%\ides\nvim"
REM WezTerm
mklink /d "%USERPROFILE%\.config\wezterm" "%DOTFILES%\shell\wezterm"
REM Starship
mklink "%USERPROFILE%\.config\starship.toml" "%DOTFILES%\shell\starship\starship.toml"
REM AutoDarkMode
mklink "%APPDATA%\AutoDarkMode\scripts.yaml" "%DOTFILES%\windows\autodarkmode\scripts.yaml"
REM lf
mklink /d "%USERPROFILE%\AppData\Local\lf" "%DOTFILES%\ides\lf"
mklink "%USERPROFILE%\programs\bin\lfcd.cmd" "%DOTFILES%\windows\lf\lfcd.cmd"
REM Zed
mklink "%USERPROFILE%\AppData\Roaming\Zed\settings.json" "%DOTFILES%\ides\zed\settings.json"
mklink "%USERPROFILE%\AppData\Roaming\Zed\keymap.json" "%DOTFILES%\ides\zed\keymap.json"
REM Helix
mklink /d "%APPDATA%\helix" "%DOTFILES%\ides\helix"
REM MSYS Bash
mklink "%USERPROFILE%\.bash_profile" "%DOTFILES%\windows\msys_shell\.bash_profile"
mklink "%USERPROFILE%\.bash_functions" "%DOTFILES%\windows\msys_shell\.bash_functions"
mklink "%USERPROFILE%\.bash_aliases" "%DOTFILES%\windows\msys_shell\.bash_aliases"
mklink "%USERPROFILE%\.zshrc" "%DOTFILES%\shell\zsh\.zshrc.windows"
mklink "%USERPROFILE%\.starship-msys2-init-zsh" "%DOTFILES%\shell\zsh\.starship-msys2-init-zsh"
REM Emacs
mklink /d "%HOME%\.emacs.d" "%DOTFILES%\ides\emacs"
REM VSCode
REM mklink "%USERPROFILE%\AppData\Roaming\Code\keybindings.json" "%DOTFILES%\ides\vscode\keybindings.json"