mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Added Support for Tabby in Macos-Plugin
This commit is contained in:
parent
1b29fd3a46
commit
65f3995993
1 changed files with 19 additions and 0 deletions
|
|
@ -79,6 +79,13 @@ EOF
|
||||||
key code 36 #(presses enter)
|
key code 36 #(presses enter)
|
||||||
end tell
|
end tell
|
||||||
EOF
|
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
|
else
|
||||||
echo "$0: unsupported terminal app: $the_app" >&2
|
echo "$0: unsupported terminal app: $the_app" >&2
|
||||||
return 1
|
return 1
|
||||||
|
|
@ -126,6 +133,12 @@ EOF
|
||||||
delay 1
|
delay 1
|
||||||
keystroke "${command} \n"
|
keystroke "${command} \n"
|
||||||
end tell
|
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
|
EOF
|
||||||
else
|
else
|
||||||
echo "$0: unsupported terminal app: $the_app" >&2
|
echo "$0: unsupported terminal app: $the_app" >&2
|
||||||
|
|
@ -175,6 +188,12 @@ EOF
|
||||||
delay 1
|
delay 1
|
||||||
keystroke "${command} \n"
|
keystroke "${command} \n"
|
||||||
end tell
|
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
|
EOF
|
||||||
else
|
else
|
||||||
echo "$0: unsupported terminal app: $the_app" >&2
|
echo "$0: unsupported terminal app: $the_app" >&2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue