Jump to content
patgilmour

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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...