bin/pb @ bfd9b1f910a3

Update
author Steve Losh <steve@stevelosh.com>
date Wed, 11 Oct 2017 11:09:36 -0400
parents 25ffd1bd1092
children f14a899254c7
#!/usr/bin/env bash

set -e

curl -F 'sprunge=<-' http://paste.stevelosh.com | tr -d '\n' | sed -e 's_sprunge-stevelosh.herokuapp.com_http://paste.stevelosh.com_' | pbcopy
echo
curl -s "`pbpaste`"
tput bold
echo ""
echo "Copied URL `pbpaste` to clipboard"