Created
October 7, 2019 15:52
-
-
Save xinmyname/17d7952c165897a3a81991a8fde389fd to your computer and use it in GitHub Desktop.
Launch Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Launches code correctly, without cmd.exe so it works with UNC paths | |
function LaunchCode { | |
PowerShell -Command "& 'C:\Users\sherwooda\AppData\Local\Programs\Microsoft VS Code\Code.exe' $args" | |
} | |
New-Alias e LaunchCode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment