From 850975eb78908e8272e42685da8b5ced3a428c97 Mon Sep 17 00:00:00 2001 From: Johan Kaving Date: Tue, 7 Aug 2018 21:39:38 +0200 Subject: [PATCH] Add support for ForkLift 3 (#6490) This adds support for ForkLift 3, which uses a different application id and also uses a popover instead of a sheet for entering the directory to go to. This also improves the handling of different versions of ForkLift, by first choosing any currently running instance, and if none is running starting the newest available version. Fixes #6565. --- plugins/forklift/forklift.plugin.zsh | 100 ++++++++++++++++++--------- 1 file changed, 69 insertions(+), 31 deletions(-) diff --git a/plugins/forklift/forklift.plugin.zsh b/plugins/forklift/forklift.plugin.zsh index 692ca5790..274c4a822 100644 --- a/plugins/forklift/forklift.plugin.zsh +++ b/plugins/forklift/forklift.plugin.zsh @@ -1,6 +1,6 @@ # Open folder in ForkLift.app or ForkLift2.app from console # Author: Adam Strzelecki nanoant.com, modified by Bodo Tasche bitboxer.de -# Updated to support ForkLift2 by Johan Kaving +# Updated to support ForkLift 2 and ForkLift 3 by Johan Kaving # # Usage: # fl [] @@ -24,46 +24,84 @@ function fl { fi osascript 2>&1 1>/dev/null <