diff options
| author | 2021-07-23 17:48:40 -0400 | |
|---|---|---|
| committer | 2021-07-23 17:48:40 -0400 | |
| commit | 3110a2d205b0355af46d4a2b40b87faddcdbed8f (patch) | |
| tree | b3023bce5bd82faed9bbe11145123a1ab345bde5 /dot_anypaste-plugins/executable_brpaste | |
| parent | go env: fix homedir -> homeDir (diff) | |
anypaste plugins: remove
Diffstat (limited to '')
| -rw-r--r-- | dot_anypaste-plugins/executable_brpaste | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dot_anypaste-plugins/executable_brpaste b/dot_anypaste-plugins/executable_brpaste deleted file mode 100644 index bb5afb9..0000000 --- a/dot_anypaste-plugins/executable_brpaste +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -: "${brpaste_host:=https://brpaste.xyz}" - -case $1 in - check_eligibility) - [[ $ap_mime == text/* ]] - ;; - upload) - brpaste_id=$(curl -#fF "data=<$ap_path" "$brpaste_host") \ - || { echo 'ERROR: Upload failed!' >&2 && exit 1; } - echo - echo "Link: $brpaste_host/$brpaste_id" - echo "Direct: $brpaste_host/raw/$brpaste_id" - echo - ;; - get_info) - echo '[name]' - echo 'BRPaste' - echo '[description]' - echo 'A pastebin so fast, it burns rubber.' - echo '[tags]' - echo 'private' - echo 'direct' - echo - echo '[optional_config]' - echo 'brpaste_host:Hosted instance to use (default: https://brpaste.xyz)' -esac |
