Skip to content

Instantly share code, notes, and snippets.

@astrochili
Created April 4, 2017 13:50
Show Gist options
  • Select an option

  • Save astrochili/44605543848cbc4d15d2ba42191f5a3a to your computer and use it in GitHub Desktop.

Select an option

Save astrochili/44605543848cbc4d15d2ba42191f5a3a to your computer and use it in GitHub Desktop.
Love terminal session runner adapted for atom-shell-commands
projectDirectory=$1
echo "rm /tmp/tmp.sh; clear; /Applications/love.app/Contents/MacOS/love $projectDirectory" > /tmp/tmp.sh
chmod +x /tmp/tmp.sh
open -a Terminal.app /tmp/tmp.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment