0407eb000fe3460c7bc5c2638b9b8acce99af827
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..9f9432ac8c0cb593e6fe43f3be4ef131f707fbc4
4--- /dev/null
5+++ b/plugins/sprunge/sprunge.plugin.zsh
6@@ -0,0 +1,64 @@
7+# Contributed and SLIGHTLY modded by Matt Parnell/ilikenwf <parwok -at- gmail>
8+# Created by the blogger at the URL below...I don't know where to find his/her name
9+# Original found at http://www.shellperson.net/sprunge-pastebin-script/
10+
11+usage() {
12+description | fmt -s >&2
13+}
14+
15+description() {
16+cat << HERE
17+
18+DESCRIPTION
19+ Upload data and fetch URL from the pastebin http://sprunge.us
20+
21+USAGE
22+ $0 filename.txt
23+ $0 text string
24+ $0 < filename.txt
25+ piped_data | $0
26+
27+NOTES
28+--------------------------------------------------------------------------
29+* INPUT METHODS *