Jump to content

Opening iTerm current directory in Forklift


Recommended Posts

I am trying to set up a keyboard shortcut to open the current path in iTerm (using zsh) in Forklift. 

 

Forklift opens but at the last opened folder in ForkLift not the current folder in iTerm.

Here is the code I used (inspired by iEnno workflow):

on alfred_script(q)
	tell application "iTerm"
		tell the current session of current terminal
			write text "open -a Forklift ./"
		end tell
	end tell
end alfred_script

Tested the workflow with Pathfinder -> working very well. 

 

I guess it comes from ForkLift. Am I right?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...