-
-
Save d4v3y0rk/58fb0d3c82ccbf9db841 to your computer and use it in GitHub Desktop.
subl shell script
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
#!/bin/sh | |
SUBL="/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" | |
if [ ! -e "$SUBL" ] ; then | |
echo "Sublime not found: $SUBL" | |
exit 1 | |
fi | |
"$SUBL" --new-window -wait $1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment