Marc Cornellà 610b2529d2 Clean up plugin READMEs and a few plugins | 4 年之前 | |
---|---|---|
.. | ||
README.md | 4 年之前 | |
sprunge.plugin.zsh | 5 年之前 |
This plugin uploads data and fetch URL from the pastebin http://sprunge.us
To enable it, add 'sprunge' to your plugins:
plugins=(... sprunge)
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:
$ sprunge "hello"
http://sprunge.us/XxjnKz