From 6c17dd8daae06ffb7830aac2ea8eb98831e7a55e Mon Sep 17 00:00:00 2001 From: Johan Kaving Date: Wed, 13 Dec 2017 15:45:00 +0100 Subject: [PATCH] Add support for ForkLift 3 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. --- 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 692ca579..274c4a82 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 <