Skip to content

Instantly share code, notes, and snippets.

@brandonpittman
Created September 12, 2013 06:54
Show Gist options
  • Save brandonpittman/6533787 to your computer and use it in GitHub Desktop.
Save brandonpittman/6533787 to your computer and use it in GitHub Desktop.
Create a Bash script or set source language to UNIX Shell Script in BBEdit.
tell application "BBEdit"
if not (front text document exists) then make new text document
if contents of front text document is "" then set contents of front text document to "#!/bin/bash\n\n"
set source language of text document 1 to "Unix Shell Script"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment