X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fsprunge%2FREADME.md;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fsprunge%2FREADME.md;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=80e3b30dc1be0404e016a47127f4c1a1a56928c0;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/sprunge/README.md b/stow/oh-my-zsh/.oh-my-zsh/plugins/sprunge/README.md deleted file mode 100644 index 80e3b30..0000000 --- a/stow/oh-my-zsh/.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).