aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pastebin
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-04 18:45:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-04 18:45:21 +0530
commit57298b7fcc09a46a1744378a341ca48e8eaaea03 (patch)
treebba2a9d369b78f51a0002ec9d0855d8fedba1526 /plugins/pastebin
parent8b9f96e645bc97cc85a0bd83a923b6cc23a05b0e (diff)
downloadnnn-57298b7fcc09a46a1744378a341ca48e8eaaea03.tar.gz
Use ix.io paste service
Diffstat (limited to 'plugins/pastebin')
-rwxr-xr-xplugins/pastebin6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/pastebin b/plugins/pastebin
index de130e4..13fb3e7 100755
--- a/plugins/pastebin
+++ b/plugins/pastebin
@@ -1,13 +1,11 @@
#!/usr/bin/env sh
-# Description: Paste contents of a text a file to paste.ubuntu.com using pastebinit
-#
-# pastebinit: https://launchpad.net/pastebinit
+# Description: Paste contents of a text a file http://ix.io
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
- pastebinit "$1"
+ curl -F "f:1=@"$1"" ix.io
read input
fi