cleanup works, and lacks the finder wonkiness

This commit is contained in:
Carter Tazio Schonwald 2011-04-27 02:49:02 -04:00
commit 13832fd04c

View file

@ -38,9 +38,7 @@ if [[ $TERM_PROGRAM != iTerm.app ]]; then
end tell" end tell"
return 1 return 1
else else
osascript -e " tell app \"Finder\" osascript -e " tell application \"iTerm\"
activate
tell application \"iTerm\"
make new terminal make new terminal
tell the front terminal tell the front terminal
activate current session activate current session
@ -50,12 +48,8 @@ else
end tell end tell
end tell end tell
end tell end tell
tell application \"Finder\"
activate
end tell
tell application \"iTerm\" tell application \"iTerm\"
activate activate
end tell
end tell " end tell "
fi fi