-
Notifications
You must be signed in to change notification settings - Fork 105
Description
When I click Save, I get a failure to save error with a surprising path.
Seems related to #183, but why is it using a path inside the installation directory?
I run a my gui program in mintty to see its stdout. My program seems to be unrelated and any .bat triggers this problem.
C:\scratch\mintty_test.bat contains:
echo test
pause
- Win + R
- Type
%USERPROFILE%\scoop\apps\wsltty\current\bin\mintty.exe --exec C:\scratch\mintty_test.batand hit enter - Right click top left icon > Options > Text > change font. Save.
- Get error:
---------------------------
Error
---------------------------
Could not save options to 'C:\Users\idbrii\scoop\apps\wsltty\3.7.4\home\idbrii\.minttyrc':
No such file or directory.
---------------------------
OK
---------------------------
The readme says "a wsltty configuration directory in the user’s application folder %APPDATA%", so it seems wrong that the path is in the installation directory instead of somewhere in %APPDATA%.
I also tried setting the config directory, but it fails with the exact same message:
%USERPROFILE%\scoop\apps\wsltty\current\bin\mintty.exe --configdir="%APPDATA%\wsltty" --exec C:\scratch\mintty_test.bat
I've installed wsltty 3.7.4 with scoop.
If I use launch "WSL Terminal" or "Ubuntu Terminal" out of Start Menu, then I can change font on them and save without issues.
I just started using mintty again, but used it years ago and I have a .minttyrc in my %userprofile%, but removing it doesn't fix the error.
Workaround
Create the directory and it no longer fails to save. After saving, I see the minttyrc file appear.