Replies: 1 comment
-
odd... having tried to repro cleanly, i moved the previous mklink created link in linux via the mv command, and then reverted things back in linux by moving the old link to the settings.json filename. after having done this, it seems that wsl does get startup trying to access this file. can anyone repro? i'm trying to figure out how it was originally broken. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Steps to reproduce
mklink %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json \\wsl$\Ubuntu\home\%USERNAME%\settings.json
wsl --shutdown
WSL logs:
n/a
Expected behavior
i would expect windows terminal to fire up with my settings now located in wsl
Actual behavior
windows terminal error dialog stating "Encountered errors while loading user settings".
Background
i currently have my windows terminal settings.json file (%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json) linked to my dotfiles in wsl (dir output: settings.json [\wsl$\Ubuntu\home\razamatan.dotfiles\settings.json]).
since wsl2 switched to vhd's, if i try to open terminal w/o starting wsl to load the vhd, i get the "Encountered errors while loading user settings" error dialog. i have to remember to always start wsl to allow wt to be able to read from this (and any other) symlink to \wsl$ files.
it would be great to automatically load wsl if trying to access any symlink that points to wsl paths.
Beta Was this translation helpful? Give feedback.
All reactions