diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh new file mode 100644 index 000000000..ca7e77b33 --- /dev/null +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -0,0 +1,8 @@ +# A simple alias for sprunge, but only if there isn't a smarter, better one out +# there in $PATH +# +# A good one to add is the sprunge script in this directory. + +if [ -z "${commands[sprunge]}" ]; then + alias sprunge="curl -F 'sprunge=<-' http://sprunge.us/" +fi