Jump to content

Alias Homebrew Apps — Create shortcuts to Homebrew formula app bundles


Recommended Posts

Setup


Set the formulae you want linked in the Workflow’s Configuration.


Usage


Alias your Homebrew Cellar apps to the Applications Folder via the brewalias keyword. This will allow them to be indexed by macOS and found.


brewalias.png


macvim.png


To trigger the workflow from a terminal, define a brewalias command in your shell’s startup files:


alias brewalias='/usr/bin/osascript -e "tell application id \"com.runningwithcrayons.Alfred\" to run trigger \"build\" in workflow \"com.alfredapp.vitor.aliashomebrewapps\""'


⤓ Install on the Alfred Gallery | Source

 

Edited by vitor
Link to comment

Hi Vitor, thank you for your awesome workflow! When using it, I encountered some problems and wonder if you could help a fix.

 

I compiled emacs from scratch using `homebrew install --HEAD emacs-mac`, and ran your shortcut. This is what I see.

 

image.thumb.png.55d842218a814ab0cd6cce8e05eae6b9.png

 

I'm not sure why the prefix is `/System/Volums/Data/`?

Link to comment
  • 11 months later...

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...