7 lines
231 B
Bash
Executable file
7 lines
231 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# mk_pasteboard_tinyurl.sh takes a url from the message buffer and
|
|
# turns it to a TinyURL which its writes back to it
|
|
|
|
curl -s http://tinyurl.com/api-create.php?url=`pbpaste` | pbcopy
|
|
growlnotify "TinyURL" -m `pbpaste`
|