Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
100644 17 lines (16 sloc) 0.357 kb
df4c7d3 @alinx Using iTerm2 as an option
alinx authored
1 tell application "iTerm"
2 activate
3 try
4 set myterm to the first terminal
5 on error
6 set myterm to (make new terminal)
7 end try
8 tell myterm
9 launch session "gitx"
10 tell the last session
11 set name to "Opened by GitX"
12 exec command "/bin/bash"
13 write text "cd %%workDir%%; clear; echo '# Opened by GitX:'; git status"
14 end tell
15 end tell
16 end tell
Something went wrong with that request. Please try again.