Skip to content

Instantly share code, notes, and snippets.

@brennanMKE
Last active June 20, 2018 23:12
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save brennanMKE/d054abea0f307d303f88 to your computer and use it in GitHub Desktop.
Save brennanMKE/d054abea0f307d303f88 to your computer and use it in GitHub Desktop.
Open in Visual Studio Code
# Add the alias below to ~/.bash_profile on a Mac
# Save the file and run: source ~/.bash_profile
alias code='open $@ -a "Visual Studio Code"'
@gyurisc
Copy link

gyurisc commented Jun 24, 2015

Thanks! :)

@yhzion
Copy link

yhzion commented Jul 25, 2017

Thanks!!!!!!!

@hawz
Copy link

hawz commented Aug 11, 2017

Thanks!

@bouyagas
Copy link

Thanks

@bellentuck
Copy link

Yes, thank you!

@andrea06590
Copy link

Thanks I was unable to do it using VSCode search bar

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