From 5cf34717161bd866a634d8a9ad209afb4004857b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 18 Apr 2019 20:27:35 +0530 Subject: Plugins! --- plugins/paste | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 plugins/paste (limited to 'plugins/paste') diff --git a/plugins/paste b/plugins/paste new file mode 100755 index 0000000..de130e4 --- /dev/null +++ b/plugins/paste @@ -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