Skip to content

Instantly share code, notes, and snippets.

@d4v3y0rk
Created January 8, 2015 15:09
Show Gist options
  • Save d4v3y0rk/58fb0d3c82ccbf9db841 to your computer and use it in GitHub Desktop.
Save d4v3y0rk/58fb0d3c82ccbf9db841 to your computer and use it in GitHub Desktop.
subl shell script
#!/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