oh-my-fish / plugin-dpaste

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dpaste

A plugin for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework


Package allows to quickly share text on pastebin sites dpaste.org (and similar), sprunge.us.

Install

$ omf install dpaste

Usage

Basic usage to pastebin:

$ dpaste "I <3 to paste"
https://dpaste.org/ID0
$ dpaste -t week README.md
https://dpaste.org/ID1
$ dpaste -t onetime < README.md
https://dpaste.org/ID2
$ cat README.md | dpaste -t month
https://dpaste.org/ID3

GitHub Gist Usage

$ dpaste --gist -d "Your description" a.fish

Private gist

$ dpaste --gist -d "Your description" -p my-file.fish

Params:

  • -g --gist Create a GitHub gist
  • -d or --desc Description of the gist, default "uploaded from dpaste fish shell plugin"
  • -p or --private Private gist, default public

For more information see:

$ dpaste --help

License

MIT © rominf et al

About

License:MIT License


Languages

Language:Shell 100.0%