Commit graph

37 commits

Author SHA1 Message Date
James McGlashan
ba33dc788d fixed a tiny typo 2011-12-11 02:54:22 +11:00
James McGlashan
630295efc8 Added a log for sprunge links. No need to re-make them anymore :D Well, unless you have updated it. 2011-12-11 01:21:53 +11:00
James McGlashan
d39d26b8fe Added a log for sprunge links. No need to re-make them anymore :D Well, unless you have updated it. 2011-12-11 01:18:29 +11:00
Simon Gomizelj
2836d2c365 Log some errors in plugins 2011-12-01 01:21:11 -05:00
Simon Gomizelj
7061378909 Slightly condensed sprunge now that sendtoclip is its own function. 2011-11-30 09:32:49 -05:00
Simon Gomizelj
e733352ff1 Split out the copy to clipboard functionality into its own function. It is universally useful. 2011-11-30 09:30:17 -05:00
Simon Gomizelj
5905845abd Cosmetic changes and comments for sprunge. 2011-11-29 17:03:13 -05:00
Simon Gomizelj
c83ecd5d1a Output error messages in sprunge to stderr. 2011-11-29 15:46:53 -05:00
Simon Gomizelj
38da730806 Updated sprunge so if its called without any arguments it will read from stdin. To get help, use -h or --help. Also, we really don't need the massive wall of text for usage help. 2011-11-29 12:33:29 -05:00
Simon Gomizelj
69c6c04f64 Updated documentation. 2011-11-29 12:25:39 -05:00
Simon Gomizelj
21caf6ea77 Truly make python an optional dependency of the sprunge plugin 2011-11-29 11:10:56 -05:00
Simon Gomizelj
32eac165c0 The sprunge command will now handle multiple with ease. 2011-11-29 10:49:14 -05:00
Simon Gomizelj
926ea03109 Better formatted usage message. 2011-11-29 10:28:45 -05:00
Simon Gomizelj
a9fbe5505c Better version of the sprunge command. Its better organized, has better error messages, and the while loop to read from stdin is completely unnecessary, redirecting stdin is more efficient. 2011-11-29 10:20:38 -05:00
Simon Gomizelj
258fda38d0 Fixed up sprunge command. Condensed it and fixed the whitespace. 2011-11-29 05:16:15 -05:00
Evan LeCompte (Home)
404ffffc0e copy sprunge $url to clipboard automatically if user has xclip or xsel
installed
2011-11-29 04:20:55 -05:00
Simon Gomizelj
bfe6d22bda One bug fix, one removal of an unnecessary cat. 2011-11-29 04:20:55 -05:00
Simon Gomizelj
1471e5d70b Variables here should be marked local. 2011-11-29 04:20:55 -05:00
Simon Gomizelj
0117c93a53 Its better practise to use [[ and ]] rather than [ and ] 2011-11-29 04:20:55 -05:00
Simon Gomizelj
413b9537af Sprunge should call return, not exit on failure now. Otherwise it kills the shell... doh. 2011-11-29 04:20:55 -05:00
Simon Gomizelj
e04b21fafa Reworked the sprunge script into a zsh function. There's no need to manipulate $PATH to get a zsh script loading. 2011-11-29 04:20:54 -05:00
Colin Shea
de189ebd60 Reword the header.
I just wanted an excuse to try out the IRC service hook from Github. :-P
2011-11-27 04:08:02 -07:00
Colin Shea
85694649ac README, explaining the plugin. Sheesh, 200 words?!? 2011-11-27 04:02:38 -07:00
Colin Shea
d973665df0 sprunge command has a setting! 2011-11-27 03:51:35 -07:00
Colin Shea
de3c49c38d This is a shell script, not a function anymore 2011-11-27 03:41:31 -07:00
Colin Shea
d5ab3fb62c Restore the sprunge script 2011-11-27 03:40:49 -07:00
Colin Shea
f8a85e3250 Sprunge smart alias. Like a plugin should. 2011-11-27 03:38:01 -07:00
Colin Shea
a00085fb04 Sprunge is better off as a script in ~/bin/, not a omz plugin. 2011-11-27 03:32:23 -07:00
Colin Shea
e66b827e61 Exit, not return, per original author. 2011-11-27 03:31:50 -07:00
Colin Shea
5978418681 Fix the if condition. Strings vs numbers. 2011-11-27 03:29:13 -07:00
Colin Shea
e584cf2f7d Revert merging the functions together. Silly me.
Instead, make it statically wrapped. Why not? Why call `fmt`! Trying to be
'cool'?
2011-11-27 03:28:13 -07:00
Colin Shea
b9d853a8f4 Fix python indentation error. 2011-11-27 03:16:59 -07:00
Colin Shea
f498551664 Capture url output, output syntax if we know what it is. 2011-11-27 03:06:49 -07:00
Colin Shea
d8d7b45f96 Consistent indention levels. 2011-11-27 02:53:44 -07:00
Colin Shea
d20f46ef12 Remove support for 'sprunge "blah blah posted text"' 2011-11-27 02:51:21 -07:00
Colin Shea
3f3da1eb47 Sprunge plugin detects the syntax 2011-11-27 02:51:21 -07:00
Evan LeCompte (Home)
8224455bd9 sprunge plugin -- needs to be in own folder plugins/sprunge 2011-11-27 04:42:13 -05:00