summaryrefslogtreecommitdiff
path: root/dot_local/share/toasty/functions/brpaste
diff options
context:
space:
mode:
Diffstat (limited to 'dot_local/share/toasty/functions/brpaste')
-rw-r--r--dot_local/share/toasty/functions/brpaste6
1 files changed, 0 insertions, 6 deletions
diff --git a/dot_local/share/toasty/functions/brpaste b/dot_local/share/toasty/functions/brpaste
deleted file mode 100644
index b4cf5ef..0000000
--- a/dot_local/share/toasty/functions/brpaste
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/zsh
-host='https://brpaste.xyz'
-[[ $# -eq 0 ]] && set -- '-'
-brpaste_id=$(curl -\#fF "data=<$1" "$host") \
- || { echo 'ERROR: Upload failed!' >&2 && return 1; }
-printf '%s/%s\n' "$host" "$brpaste_id"