- Created by shazoom
- đź—“ Last Updated: 08/03/22 17:11:54
- 🌟 Stars on GitHub: 0
- Please consider supporting the creator by Starring or Sponsoring them on GitHub!
- Get Latest Release
- Get Source Code
From their README
Open a Finder windwos or terminal—and change directory—to the result found by searching with Alfred limiting itself to folders.
Download from releases.
This workflow uses some code from https://github.com/raguay/MyAlfred/blob/master/AlfredBrowserToolbox.alfredworkflow and https://github.com/LeEnno/alfred-terminalfinder.
I don’t like tabs for terminals so it is intentional that each terminal is in its own window. If you want to see a script with support for opening in tabs, take a look at https://github.com/LeEnno/alfred-terminalfinder.
bt → searches for a dircectory and opens it in a
terminal
bf → searches for a directory and opens it in a
finder
bft → opens a terminal with the current directory
which finder shows
btf → opens a finder showing the current directory
in your terminal
Set the variable term_type (click on the "Configure workflow and variables" button [đť“Ť]) to "Terminal" (without quoates) to work with Terminal.app or "iTerm2" to work with iTerm2.app. The scripts will only work with versions of iTerm2 which implement the newer applescript API.
Changes:
Only one really. Instead of using the "Reveal file in Finder" function built in to Alfred we're using AppleScript to open the folder and is now equivelent to the "Open File" action triggered with the spacebar.
Enjoy bananas.