Skip to content

Instantly share code, notes, and snippets.

View andrewdbate's full-sized avatar

Andrew D Bate andrewdbate

View GitHub Profile
@andrewdbate
andrewdbate / open_terminal.sh
Created October 17, 2023 20:49
Script to use iTerm2 as the default terminal app from SmartGit.
#!/bin/bash
#
# To use iTerm2 as the default terminal from SmartGit, overwrite the file
# /Applications/SmartGit.app/Contents/Resources/open_terminal.sh
# with this file.
#
/usr/bin/osascript - $1 2>/dev/null << EOF
on run argv
set newpath to (do shell script "echo $PATH")
set path_cd to ""