summaryrefslogtreecommitdiff
path: root/plugins/sprunge
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-03-31 12:31:09 +0200
committerMarc Cornellà <hello@mcornella.com>2022-03-31 12:31:09 +0200
commite079babdce1f41a6c85296fba7df1672d98e04bd (patch)
tree8ab1b19723125cddb795931832d1800fb0d46c4b /plugins/sprunge
parent141d06b602b670638a6354e05686e5d3bc56d1a6 (diff)
downloadzsh-e079babdce1f41a6c85296fba7df1672d98e04bd.tar.gz
zsh-e079babdce1f41a6c85296fba7df1672d98e04bd.tar.bz2
zsh-e079babdce1f41a6c85296fba7df1672d98e04bd.zip
chore: fix some instances of bad wording
Co-authored-by: inclusive-coding-bot <inclusive-coding-bot@github.com>
Diffstat (limited to 'plugins/sprunge')
-rw-r--r--plugins/sprunge/README.md8
-rw-r--r--plugins/sprunge/sprunge.plugin.zsh4
2 files changed, 7 insertions, 5 deletions
diff --git a/plugins/sprunge/README.md b/plugins/sprunge/README.md
index fb70d42eb..01274cabb 100644
--- a/plugins/sprunge/README.md
+++ b/plugins/sprunge/README.md
@@ -18,7 +18,8 @@ plugins=(... sprunge)
| `echo data \| sprunge` | Any piped data will be uploaded |
Once sprunge has processed the input it will give you a unique HTTP address:
-```
+
+```console
$ sprunge "hello"
http://sprunge.us/XxjnKz
```
@@ -30,3 +31,8 @@ http://sprunge.us/XxjnKz
- Argument precedence goes as follows: stdin > piped input > text strings.
- If a filename is misspelled or doesn't have the necessary path description, it will NOT
generate an error, but instead treat it as a text string.
+
+## Credits
+
+- Original code: [shellperson.net](https://web.archive.org/web/20190601000000*/https://www.shellperson.net/sprunge-pastebin-script/).
+- Adapted by: Matt Parnell (@ilikenwf).
diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh
index 5d5687a82..48dff5837 100644
--- a/plugins/sprunge/sprunge.plugin.zsh
+++ b/plugins/sprunge/sprunge.plugin.zsh
@@ -1,7 +1,3 @@
-# Contributed and SLIGHTLY modded by Matt Parnell/ilikenwf <parwok -at- gmail>
-# Created by the blogger at the URL below...I don't know where to find his/her name
-# Original found at https://www.shellperson.net/sprunge-pastebin-script/
-
sprunge() {
if [[ "$1" = --help ]]; then
fmt -s >&2 << EOF