Jump to content

Alias Homebrew Apps — Create shortcuts to Homebrew formula app bundles


Recommended Posts

Usage


Set the formulae you want linked in the workflow’s configuration and run the Alias Keyword (default: brewalias). App bundles will be aliased into your Applications directory, allowing them to be indexed and invoked like other apps.


brewalias.png


You can run the workflow from a Terminal via the External Trigger. The simplest way is to define an alias 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\""'


Then executing brewalias in a Terminal will run the Workflow.


⤓ 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

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