diff options
-rw-r--r-- | plugins/osx/osx.plugin.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index f69bd7e5d..a3e550972 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -44,7 +44,7 @@ EOF elif [[ "$the_app" == 'iTerm2' ]]; then osascript <<EOF - tell application "iTerm" + tell application "iTerm2" tell current window create tab with default profile tell current session to write text "${command}" @@ -81,7 +81,7 @@ EOF elif [[ "$the_app" == 'iTerm2' ]]; then osascript <<EOF - tell application "iTerm" + tell application "iTerm2" tell current session of first window set newSession to (split vertically with same profile) tell newSession @@ -121,7 +121,7 @@ EOF elif [[ "$the_app" == 'iTerm2' ]]; then osascript <<EOF - tell application "iTerm" + tell application "iTerm2" tell current session of first window set newSession to (split horizontally with same profile) tell newSession |