summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMultilul <q.oostendorp@gmail.com>2016-08-24 21:15:12 +0200
committerMarc Cornellà <marc.cornella@live.com>2016-08-24 21:15:12 +0200
commit6e33095a7d61bc16fafec6952c531f6cc1e138fc (patch)
tree0cf76b646e4fe84f493f3d8fdb904665b54ef54a /plugins
parentcbd9d0403e7cbc06b96d91f8c7e96a80b07705d0 (diff)
downloadzsh-6e33095a7d61bc16fafec6952c531f6cc1e138fc.tar.gz
zsh-6e33095a7d61bc16fafec6952c531f6cc1e138fc.tar.bz2
zsh-6e33095a7d61bc16fafec6952c531f6cc1e138fc.zip
iTerm2 v3 tab commands fixes (#5336)
Fixes the "syntax error: expected line end ..." (-2741) when using the tab, split_tab and vsplit_tab commands in iTerm2 v3
Diffstat (limited to 'plugins')
-rw-r--r--plugins/osx/osx.plugin.zsh6
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