Skip to content

Instantly share code, notes, and snippets.

@Roger-luo
Created October 27, 2021 22:09
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 Roger-luo/650cef584730518b420fe155e5ec0756 to your computer and use it in GitHub Desktop.
Save Roger-luo/650cef584730518b420fe155e5ec0756 to your computer and use it in GitHub Desktop.
open a remote file via ssh using vscode
function remote () {
code --remote ssh-remote+desktop /home/roger/code/$1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment