nnn/plugins/pastebin
Arun Prakash Jana 1cca9e4b72
shellcheck fixes
2019-11-22 11:13:34 +05:30

12 lines
203 B
Bash
Executable file

#!/usr/bin/env sh
# Description: Paste contents of a text a file http://ix.io
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
curl -F "f:1=@$1" ix.io
read -r _
fi