Created
February 26, 2019 09:44
-
-
Save snobu/f4dc669d5d68712735fcb719fdf4c0f7 to your computer and use it in GitHub Desktop.
code.fish
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
# Launch VS Code with 'code' or 'code <path>' from Fish Shell | |
function code | |
set location "$PWD/$argv" | |
open -n -b "com.microsoft.VSCode" --args $location | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment