- We are using Windows.
- This repository is cloned inside
%USERPROFILE%
.
On Windows, we can use some of these environment variables for path shortcuts:
> echo %USERPROFILE%
C:\Users\dchen
> echo %APPDATA%
C:\Users\dchen\AppData\Roaming
More found here: https://stackoverflow.com/questions/39917351/is-there-more-shortcuts-like-appdata
Run Windows Command Prompt as administrator and run:
mklink <destination> <source>
mklink "%USERPROFILE%\.bashrc" "%USERPROFILE%\dotfiles\bash\.bashrc"
N/A
mklink "%USERPROFILE%\.gitconfig" "%USERPROFILE%\dotfiles\git\.gitconfig"
mklink "%USERPROFILE%\.gitignore" "%USERPROFILE%\dotfiles\git\.gitignore"
mklink "%APPDATA%\Code\User\settings.json" "%USERPROFILE%\dotfiles\vscode\user_settings.json"
N/A