1
Fork 0

add note on symlinks and Windows

This commit is contained in:
Alan Faubert 2021-11-23 17:17:48 -05:00
parent df16fee818
commit 3c781be085

View file

@ -13,4 +13,8 @@ My config files for various things. See the individual readmes below.
- [Firefox](firefox)
- [KeePass](keepass)
Use `config.sh` to automate the setup of a number of things.
Use [`config.sh`](config.sh) to automate the setup of a number of things.
## Note on symlinks and Windows
For simplicity, the [`config.sh`](config.sh) script uses `ln --relative --symbolic` even for creating links that are between two Windows paths. In order for this to result in working Windows symbolic links, Windows must be in developer mode and this repository must be cloned to the Windows filesystem on the drive containing your user profile. There is a registry script to enable developer mode [here](win/Enable%20developer%20mode.reg), which lets Windows create symbolic links without privilege escalation. And when this repository lives on the same drive as the user profile, the relative path between two paths under WSL's (say) `/mnt/c/...` will be the same as the relative path between the two corresponding paths under `C:\...`.