From b53350c72379868e88ee5efa2328949a66e02a95 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Sun, 16 Dec 2012 16:21:45 -0500 Subject: [PATCH] Alternative --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 770ac88..2d1a8cf 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,14 @@ After which you can use `work_haste` to send hastes to that server instead. If you'd like an alternative on Windows that supports functionality similar to `pbcopy`, check out Aidan Ryan's [WinHaste](https://github.com/ajryan/WinHaste) project. +## Lightweight Alternative + +Han Boetes has contributed a simple shell-script alternative for those not interested in installing a RubyGem: + +``` bash +haste(){ ( echo "% $@"; eval "$@" ) | curl -F "$@=<-" http://hastebin.com/documents|awk -F '"' '{print "http://hastebin.com/"$4}'} +``` + ## Author John Crepezzi