diff options
Diffstat (limited to 'dot-oh-my-zsh/plugins/sprunge/README.md')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/plugins/sprunge/README.md | 38 |
2 files changed, 0 insertions, 38 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/plugins/sprunge/README.md b/dot-oh-my-zsh/plugins/sprunge/README.md deleted file mode 100644 index 80e3b30d..00000000 --- a/dot-oh-my-zsh/plugins/sprunge/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Sprunge plugin - -This plugin uploads data and fetch URL from the pastebin http://sprunge.us - -To enable it, add 'sprunge' to your plugins: - -```zsh -plugins=(... sprunge) -``` - -## Usage - -| Command | Description | -|------------------------------|-------------------------------------------| -| `sprunge filename.txt` | Uploads filename.txt | -| `sprunge "this is a string"` | Uploads plain text | -| `sprunge < filename.txt` | Redirects filename.txt content to 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 -``` - -## Notes - -- Sprunge accepts piped data, stdin redirection, text strings as input or filenames. - Only one of these can be used at a time. -- 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/20190910065842/https://www.shellperson.net/sprunge-pastebin-script/). -- Adapted by: Matt Parnell (@ilikenwf). |
