Commit graph

301 commits

Author SHA1 Message Date
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
James McGlashan
65c9751b92 minimal plugins now! 2011-11-30 00:59:16 +11:00
Simon Gomizelj
7161dcb2b4 Making command-not-found support a plugin. 2011-11-29 07:01:52 -05:00
Simon Gomizelj
f3292101da Comment out pacman wrapper. It needs to be rewritten. 2011-11-29 06:24:13 -05:00
Simon Gomizelj
e5a3d11638 More flags that for pacman that shouldn't trigger root. 2011-11-29 06:17:21 -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
jamesm-sitegen
053982e0f0 Added a fallback for paclist(). 2011-11-29 17:04:31 +11:00
Simon Gomizelj
30d95b2bc9 Add colour to cower. How aur wrappers are managed at the moment is not ideal. 2011-11-28 18:08:17 -05:00
Simon Gomizelj
f5c1a957d3 I said, archlinux isn't mac! 2011-11-28 14:42:50 -05:00
Simon Gomizelj
638e4f13f0 And archlinux doesn't know yum. 2011-11-28 14:38:24 -05:00
Simon Gomizelj
97f6f3bdf7 Archlinux isn't mac, either. 2011-11-28 14:38:14 -05:00
Simon Gomizelj
0657c9b364 No apt-get on archlinux. 2011-11-28 14:34:49 -05:00
Simon Gomizelj
4fa5951604 Useless, it just sources the (non-existent) ubuntu file 2011-11-28 14:33:26 -05:00
jamesm-sitegen
00f5e827d2 Silenced whence! 2011-11-28 22:53:53 +11:00
James McGlashan
ea1e8a9830 Modified archlinux.plugin.zsh so it has the skeleton idea for how aur-helpers will/can be managed. got two blank files that will be filled with handy aliases, etc. 2011-11-28 22:48:52 +11:00
James McGlashan
7579840bf0 Fixed that pesky bug and started the aur-helpersG 2011-11-28 22:38:15 +11:00
James McGlashan
e44222638c Not patched :'( 2011-11-28 02:52:10 +11:00
James McGlashan
1e30824979 FIXED! :D 2011-11-28 02:27:09 +11:00
James McGlashan
7710cde555 FIXED! 2011-11-28 02:24:36 +11:00
James McGlashan
07c6e2da62 Offically patched this bug! 2011-11-28 02:18:43 +11:00
James McGlashan
6db2294072 fixed the fix! :P 2011-11-28 02:04:58 +11:00
James McGlashan
3ef56efa37 Fixed a bug. 2011-11-28 02:01:22 +11: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