Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@gyurisc gyurisc commented Jun 24, 2015

Thanks! :)

@yhzion

This comment has been minimized.

Copy link

@yhzion yhzion commented Jul 25, 2017

Thanks!!!!!!!

@hawz

This comment has been minimized.

Copy link

@hawz hawz commented Aug 11, 2017

Thanks!

@bouyagas

This comment has been minimized.

Copy link

@bouyagas bouyagas commented Dec 16, 2017

Thanks

@bellentuck

This comment has been minimized.

Copy link

@bellentuck bellentuck commented Feb 10, 2018

Yes, thank you!

@andrea06590

This comment has been minimized.

Copy link

@andrea06590 andrea06590 commented Apr 19, 2018

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