Jump to content

Send Snippet Directly to Terminal


Recommended Posts

As per this thread: http://www.alfredforum.com/topic/9287-send-snippet-directly-to-terminal/#entry46194

 

It would be great to be able to create Snippets so that they will run directly as terminal commands (rather than having to create a Workflow element for each Terminal command I want to run).

Example:

"> killall PrinterProcessor"

If I create this as a Snippet, I can't find a way to get it into the Alfred window without copy n paste.

What I'd like to be able to do is invoke Alfred's snippet list, type (for example) 'killall', choose the snippet "> killall PrinterProcessor" and hit return to send it like any other Alfred command prefixed with > to the Terminal.

Link to comment
Share on other sites

Perhaps - I'll defer to those who know why this would or wouldn't be a good idea, but on the surface, I'd like to see this feature.

 

 

If all you're looking to do is expand your snippets in Alfred, go to the Snippets preferences, click the cog and remove Alfred from the default ignore list. :)

 

Keep in mind that this could have adverse effects, e.g. expanding when you're searching in the Snippets Viewer using the snippet's keyword.

 

Cheers,

Vero
Link to comment
Share on other sites

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