Skip to content

Instantly share code, notes, and snippets.

@aadibajpai
Last active June 15, 2020 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aadibajpai/d849d20b26f7ef27c09cbb8088407858 to your computer and use it in GitHub Desktop.
Save aadibajpai/d849d20b26f7ef27c09cbb8088407858 to your computer and use it in GitHub Desktop.
to open windows sublime from inside wsl
#!/usr/bin/env sh
exec '/mnt/c/Program Files/Sublime Text 3/subl.exe' $(wslpath -m "$1")
@aadibajpai
Copy link
Author

add this to /usr/local/bin/subl and make that executable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment