-
-
Save aadibajpai/d849d20b26f7ef27c09cbb8088407858 to your computer and use it in GitHub Desktop.
to open windows sublime from inside wsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
exec '/mnt/c/Program Files/Sublime Text 3/subl.exe' $(wslpath -m "$1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add this to
/usr/local/bin/subl
and make that executable