diff options
Diffstat (limited to 'plugins/macos/macos.plugin.zsh')
| -rw-r--r-- | plugins/macos/macos.plugin.zsh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/macos/macos.plugin.zsh b/plugins/macos/macos.plugin.zsh index 2702a1901..b951a289f 100644 --- a/plugins/macos/macos.plugin.zsh +++ b/plugins/macos/macos.plugin.zsh @@ -79,6 +79,13 @@ EOF key code 36 #(presses enter) end tell EOF + + elif [[ "$the_app" == 'Tabby' ]]; then + osascript >/dev/null <<EOF + tell application "System Events" + tell process "Tabby" to keystroke "t" using command down + end tell +EOF else echo "$0: unsupported terminal app: $the_app" >&2 return 1 @@ -127,6 +134,12 @@ EOF keystroke "${command} \n" end tell EOF + elif [[ "$the_app" == 'Tabby' ]]; then + osascript >/dev/null <<EOF + tell application "System Events" + tell process "Tabby" to keystroke "D" using command down + end tell +EOF else echo "$0: unsupported terminal app: $the_app" >&2 return 1 @@ -176,6 +189,12 @@ EOF keystroke "${command} \n" end tell EOF + elif [[ "$the_app" == 'Tabby' ]]; then + osascript >/dev/null <<EOF + tell application "System Events" + tell process "Tabby" to keystroke "d" using command down + end tell +EOF else echo "$0: unsupported terminal app: $the_app" >&2 return 1 |
