summaryrefslogtreecommitdiff
path: root/plugins/forklift
diff options
context:
space:
mode:
authorMichal Szymanski <55950820+misiektoja@users.noreply.github.com>2024-06-11 01:25:53 +0200
committerGitHub <noreply@github.com>2024-06-10 16:25:53 -0700
commit5a5d5eb85b245e0c6bc561134fdb0fd0bf9bbe10 (patch)
treed7c72f8cd1e540e4bd734caa4b6c1632a0a56288 /plugins/forklift
parentcedbb9e22846eb4b1fff0c47c3c4dbafb73601f0 (diff)
downloadzsh-5a5d5eb85b245e0c6bc561134fdb0fd0bf9bbe10.tar.gz
zsh-5a5d5eb85b245e0c6bc561134fdb0fd0bf9bbe10.tar.bz2
zsh-5a5d5eb85b245e0c6bc561134fdb0fd0bf9bbe10.zip
feat(forklift): add support for ForkLift 4 (#12490) (#12491)
Diffstat (limited to 'plugins/forklift')
-rw-r--r--plugins/forklift/forklift.plugin.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/forklift/forklift.plugin.zsh b/plugins/forklift/forklift.plugin.zsh
index 848aedabf..4bc74958d 100644
--- a/plugins/forklift/forklift.plugin.zsh
+++ b/plugins/forklift/forklift.plugin.zsh
@@ -2,6 +2,7 @@
# Author: Adam Strzelecki nanoant.com, modified by Bodo Tasche bitboxer.de
# Updated to support ForkLift 2 and ForkLift 3 by Johan Kaving
# Updated to support ForkLift from Setapp by Paul Rudkin
+# Updated to support ForkLift 4 by Michal Szymanski (misiektoja)
#
# Usage:
# fl [<folder>]
@@ -110,6 +111,11 @@ function fl {
tell pop over of list of group of splitter group of splitter group of topWindow
set value of text field 1 to "$PWD"
end tell
+ else if forkLiftVersion starts with "4" then
+ tell pop over of list of group of splitter group of splitter group of topWindow
+ keystroke "$PWD"
+ delay 0.1
+ end tell
else
tell sheet 1 of topWindow
set value of text field 1 to "$PWD"