diff --git a/.bashrc b/.bashrc index 691948f..768b068 100644 --- a/.bashrc +++ b/.bashrc @@ -266,6 +266,7 @@ unset _PLATFORM # Common aliases. hash bc >/dev/null 2>&1 && alias bc='bc -lq' #hash curl >/dev/null 2>&1 && alias pastebin="curl -F 'sprunge=<-' http://sprunge.us" +hash curl >/dev/null 2>&1 && imagebin() { curl -F file="@${1:-}" https://imagebin.ca/upload.php | grep ^url: | cut -d: -f2-; } hash diff >/dev/null 2>&1 && alias diff='diff -u' hash egrep >/dev/null 2>&1 && alias egrep='egrep --color=auto' hash fgrep >/dev/null 2>&1 && alias fgrep='fgrep --color=auto'