This commit is contained in:
Darren 'Tadgy' Austin 2021-01-19 18:08:17 +00:00
commit c67a0e62e1
3 changed files with 125 additions and 5 deletions

View file

@ -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'