diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index f2d6563e2..b03e1f637 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -38,9 +38,7 @@ if [[ $TERM_PROGRAM != iTerm.app ]]; then end tell" return 1 else - osascript -e " tell app \"Finder\" - activate - tell application \"iTerm\" + osascript -e " tell application \"iTerm\" make new terminal tell the front terminal activate current session @@ -50,13 +48,9 @@ else end tell end tell end tell - tell application \"Finder\" - activate - end tell tell application \"iTerm\" activate - end tell - end tell" + end tell " fi