nnn/plugins/pastebin

14 lines
269 B
Plaintext
Raw Permalink Normal View History

2019-03-24 15:03:27 +00:00
#!/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