Added imagebin function.
This commit is contained in:
parent
60f84452cf
commit
719da537b4
1 changed files with 1 additions and 0 deletions
1
.bashrc
1
.bashrc
|
|
@ -266,6 +266,7 @@ unset _PLATFORM
|
||||||
# Common aliases.
|
# Common aliases.
|
||||||
hash bc >/dev/null 2>&1 && alias bc='bc -lq'
|
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 && 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 diff >/dev/null 2>&1 && alias diff='diff -u'
|
||||||
hash egrep >/dev/null 2>&1 && alias egrep='egrep --color=auto'
|
hash egrep >/dev/null 2>&1 && alias egrep='egrep --color=auto'
|
||||||
hash fgrep >/dev/null 2>&1 && alias fgrep='fgrep --color=auto'
|
hash fgrep >/dev/null 2>&1 && alias fgrep='fgrep --color=auto'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue