Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use configuration file from WSL not from Windows? #231

Open
yves-chevallier opened this issue Mar 21, 2020 · 2 comments
Open

Use configuration file from WSL not from Windows? #231

yves-chevallier opened this issue Mar 21, 2020 · 2 comments
Labels

Comments

@yves-chevallier
Copy link

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?

@mintty
Copy link
Owner

mintty commented Mar 21, 2020

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
Copy link
Owner

mintty commented Mar 21, 2020

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants