Skip to content

Instantly share code, notes, and snippets.

@stuartleeks
Last active April 6, 2020 13:32
Show Gist options
  • Save stuartleeks/005bcdb6da319b29bc1c20a6d0a7e8a8 to your computer and use it in GitHub Desktop.
Save stuartleeks/005bcdb6da319b29bc1c20a6d0a7e8a8 to your computer and use it in GitHub Desktop.
wcode - launch VS Code in Windows from WSL (using \\wsl$\... path)
wcode() { cmd.exe /C code ''$(wslpath -w $1)''; }
wcode-insiders() { cmd.exe /C code-insiders ''$(wslpath -w $1)''; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment