#!/bin/bash
#
# https://github.com/rtomayko/dotfiles
#
# Usage: pbcurl <options>
# Shorthand for: curl -L <options> "$(pbpaste)"
if [[ "$(uname -s)" != 'Darwin' ]]; then
echo 'Sorry, this script only works on macOS'
exit 1
fi
exec curl -L "$@" "$(pbpaste)"