- Created by LeEnno
- 🗓 Last Updated: 13/11/20 12:20:30
- 🌟 Stars on GitHub: 1034
- Love this? Consider supporting the creator by Starring or Sponsoring this on GitHub!
- Get Workflow
- Get Source Code
From their README
alfred-terminalfinder
Alfred workflow to open current Finder window in Terminal/iTerm and vice versa.
Usage
Install workflow and enter following keywords depending on what you want to achieve:
ft
: open current Finder directory in Terminaltf
: open current Terminal directory in Finderfi
: open current Finder directory in iTermif
: open current iTerm directory in Finder
Thanks to @olibob we also have Path Finder support:
pt
: open current Path Finder directory in Terminaltp
: open current Terminal directory in Path Finderpi
: open current Path Finder directory in iTermip
: open current iTerm directory in Path Finder
In addition the search result in Alfred will show you what the action will do in its subtitle, i.e. ft
:
iTerm Compatibility
This workflow works with iTerm 3.x and 2.9.x. If you need support for 2.1.x, see the 2.1.x
branch.
Known Issues
Unfortunately there seems to be a weird bug with iTerm 3.x which causes the fi
keyword not to work. This bug appears to vanish after some time. So if you encounter it, you may try @hunit's suggestion.
If you even find a way to reproduce it, I'd be happy to receive your report in the corresponding issue... and may also flood you with all the ❤️ I have, like, forever.
Hat tip
This workflow was heavily inspired by ssgreg's Terminal in Finder's folder.