0.9 Shell Commands TO THE MAX ;)

The 0.9 dev release has only been out for a matter of hours, but my mind has already been blown with how people are starting to use the shell commands. Here is an example by @binaryghost who sent me a script to shorten URLs with goo.gl and copy the result to the clipboard ready to use.

To set this up, click + to add a new terminal / shell shortcuts table and set the following values:

Title: Shorten URL
Description: Shorten a URL using goo.gl and copy to clipboard
Keyword: gl

curl -s --data-urlencode "url={query}" http://goo.gl/action/shorten | grep "goo.gl" | awk -F\" '{print $(NF-1)}' | awk 'BEGIN { FS = "=" } ; { print $2}' | pbcopy

Tick this as being silent and …. :D

Note: I created the goo.gl shortcut posted on twitter for this tumble using…. THIS SHORTCUT!!! WOOO META!!

P.S. If you would like to help test the 0.9 dev release, you can grab it here: goo.gl/nmKEC

  1. preppeller posted this