Skip to content

Instantly share code, notes, and snippets.

@brettz9
Last active May 12, 2019 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brettz9/1980387f4e02c32c7ef6c4024f6ffdfb to your computer and use it in GitHub Desktop.
Save brettz9/1980387f4e02c32c7ef6c4024f6ffdfb to your computer and use it in GitHub Desktop.
Sourcetree Custom Actions (right-click)

ATOM:

  • Menu Caption: Open in Atom
  • Script to run: /usr/local/bin/atom
  • Parameters: -n false -a $REPO

Terminal:

  • Menu Caption: Open in Terminal Tab
  • Script to run: /Applications/TerminalTab.sh
  • Parameters: Parameters: $REPO/$FILE

(See https://gist.github.com/brettz9/c3afb987e8ca2f51aaf3f817d0a745ed for TerminalTab.sh source; note: implementing as an application did not seem to work from within Sourcetree)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment