Mercurial > ec-dotfiles
diff 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 |
line wrap: on
line diff
--- a/rc/bashrc Fri Nov 23 10:40:53 2012 -0500 +++ b/rc/bashrc Wed Nov 28 23:00:57 2012 +0700 @@ -236,7 +236,7 @@ unset _rm if command -v curl > /dev/null 2>&1; then - alias 0p="curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-'" + alias 0p="gzip | openssl base64 | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip_base64]=<-'" fi [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"