You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converting backwards is probably not necessary, since this feature would mostly benefit Windows users, who'd probably write their Aliae configs with Windows in mind anyway. Plus, I think it would even be possible to convert backwards very easily.
Windows path can be converted to Linux via /mnt/c (WSL) or /c (Git Bash). You could check for the existence of the directories to detect which to use. Note that the drive letters become lowercase. This also only supports fixed drives, not network shares.
This would also be nice in combination with #31 to automatically converts lists of paths.
The text was updated successfully, but these errors were encountered:
Because you can't just assume every value in Env should be converted if the program thinks it's a path. That creates a lot of edge cases. Default behavior should be that the Env is set to exactly what the user typed.
Code of Conduct
What would you like to see changed/added?
It would be nice if you could easily convert paths from Windows to WSL / Git Bash.
My idea for the format would look like this:
Converting backwards is probably not necessary, since this feature would mostly benefit Windows users, who'd probably write their Aliae configs with Windows in mind anyway. Plus, I think it would even be possible to convert backwards very easily.
Windows path can be converted to Linux via
/mnt/c
(WSL) or/c
(Git Bash). You could check for the existence of the directories to detect which to use. Note that the drive letters become lowercase. This also only supports fixed drives, not network shares.This would also be nice in combination with #31 to automatically converts lists of paths.
The text was updated successfully, but these errors were encountered: