Mercurial > ec-dotfiles
comparison rc/bashrc @ 415:e47f64f0dec0
[rc/bashrc] 0paste gzip alias
author | Edho Arief <edho@myconan.net> |
---|---|
date | Wed, 28 Nov 2012 23:00:57 +0700 |
parents | 69f30c512242 |
children | 587abe573053 |
comparison
equal
deleted
inserted
replaced
414:69f30c512242 | 415:e47f64f0dec0 |
---|---|
234 alias rm="${_rm} -i" | 234 alias rm="${_rm} -i" |
235 fi | 235 fi |
236 unset _rm | 236 unset _rm |
237 | 237 |
238 if command -v curl > /dev/null 2>&1; then | 238 if command -v curl > /dev/null 2>&1; then |
239 alias 0p="curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-'" | 239 alias 0p="gzip | openssl base64 | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip_base64]=<-'" |
240 fi | 240 fi |
241 | 241 |
242 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" | 242 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" |