From d5107d28ac41201e764a168c43f2931b6d44854c Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 19 Apr 2019 19:04:20 +0530 Subject: Plugin getplugs: update nnn plugins --- plugins/pastebin | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 plugins/pastebin (limited to 'plugins/pastebin') diff --git a/plugins/pastebin b/plugins/pastebin new file mode 100755 index 0000000..de130e4 --- /dev/null +++ b/plugins/pastebin @@ -0,0 +1,13 @@ +#!/usr/bin/env sh + +# Description: Paste contents of a text a file to paste.ubuntu.com using pastebinit +# +# pastebinit: https://launchpad.net/pastebinit +# +# Shell: POSIX compliant +# Author: Arun Prakash Jana + +if ! [ -z "$1" ]; then + pastebinit "$1" + read input +fi -- cgit v1.2.3-70-g09d2