support copying link to clipboard
Bug #1294893 reported by
kernc_
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I'd have pastebinit support a command-line switch that made the returned paste-link copied to users clipboard.
That could be easily achieved:
* a new -c command line switch,
* check if xclip or xsel exist (http://
* if either does: do a final subprocess.
(would have to split those strings into tokens though, or use Popen(..., shell=True) )
trivial and good enough! :)
am happy to provide a patch.
To post a comment you must log in.
Having this as an optional function would be fine I think.