wsltty icon indicating copy to clipboard operation
wsltty copied to clipboard

Use configuration file from WSL not from Windows?

Open yves-chevallier opened this issue 4 years ago • 2 comments

I use .dotfiles deployment in my Linux and I would like to use ~/.config/mintty directly for mintty. Unfortunately I have to place the config files into %APPDATA%\mintty\config. I have tried to use windows shortcuts but it doesn't work.

Is there a way to use the config from the WSL environment?

yves-chevallier avatar Mar 21 '20 09:03 yves-chevallier

In wsltty, you can also access the config folder via wslpath "$APPDATA"/wsltty (wsltty-specific) or wslpath "$APPDATA"/mintty (shared with other mintty instances).

mintty avatar Mar 21 '20 12:03 mintty

For a more POSIX-like feeling, you could also link the Windows config folder to the assumed WSL config directory: ln -s $(wslpath "$APPDATA"/wsltty) ~/.config/

mintty avatar Mar 21 '20 12:03 mintty