This conf works, but requires a change to pastebinit to accept/use `format` from `[defaults]`. Using this config you will have to use `-f ""` to change the default format ("text", no accepted by dpaste) to an empty string.
[pastebin] basename = dpaste.com regexp = http://dpaste.com
[format] user = poster content = content title = title format = language page = page
[defaults] # Empty means "Plain". format = page = /api/v1/
I am currently hacking in the pastebinit source anyway, and would add this as a pull request.
This conf works, but requires a change to pastebinit to accept/use `format` from `[defaults]`.
Using this config you will have to use `-f ""` to change the default format ("text", no accepted by dpaste) to an empty string.
[pastebin] dpaste. com
basename = dpaste.com
regexp = http://
[format]
user = poster
content = content
title = title
format = language
page = page
[defaults]
# Empty means "Plain".
format =
page = /api/v1/
I am currently hacking in the pastebinit source anyway, and would add this as a pull request.