Skip to content

Instantly share code, notes, and snippets.

@maxchuquimia
Created July 8, 2019 23:08
Show Gist options
  • Save maxchuquimia/e19f082054d0df0d8e2505963f84dd92 to your computer and use it in GitHub Desktop.
Save maxchuquimia/e19f082054d0df0d8e2505963f84dd92 to your computer and use it in GitHub Desktop.
Opens VSCode with a file/workspace
#!/bin/bash
DOC="$1"
if [ -z "$DOC" ]
then
DOC="."
fi
open -a "Visual Studio Code" "$DOC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment