summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwgetpaste7
1 files changed, 5 insertions, 2 deletions
diff --git a/wgetpaste b/wgetpaste
index 420956d..17c80b0 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -14,7 +14,10 @@ E=$'\e'
N=$'\n'
### services
-SERVICES="ca codepad dpaste gists poundpython"
+SERVICES="bpaste ca codepad dpaste gists poundpython"
+# bpaste
+ENGINE_bpaste=lodgeit
+URL_bpaste="http://bpaste.net/"
# ca
ENGINE_ca=ca
URL_ca="http://pastebin.ca/"
@@ -657,7 +660,7 @@ load_configs() {
load_configs
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
-DEFAULT_SERVICE=${DEFAULT_SERVICE:-gists}
+DEFAULT_SERVICE=${DEFAULT_SERVICE:-bpaste}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}