ohmyzsh/plugins/sprunge
2012-04-10 13:37:04 +10:00
..
README.md Updated documentation. 2011-11-29 12:25:39 -05:00
sprunge.plugin.zsh Updated sprunge.plugin.zsh to use the file extention instead of using python to get the filetype. Which doesn't seem to work efficiently enough. Commented so it can be re-enabled if someone who knows python can extend it to work regardless. 2012-04-10 13:37:04 +10:00

Sprunge

This plugin adds powerful sprunge functionality to zsh. The script optionally requires pygments with python >= 2.7 and either xclip or xsel. Pygments is used to detect what language you have uploaded. If it is detected, the url will automatically append the url with an appropriate with ?lang. Xclip or xsel are used to copy the urls to the primary and secondary clipboards.

Usage

You can call sprunge in any of the following ways:

sprunge [files]
sprunge < file
piped_data | sprunge

This plugin is released under the MIT license. The script is presumed to be released into the public domain, as the original announcement had no explicit announcement.