Mercurial > ec-dotfiles
changeset 402:a23b0f6ee8a2
Add alias for zeropaste posting.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 08 Oct 2012 08:41:58 +0700 |
parents | 06e1821eacf5 |
children | d0f9e435d36d |
files | rc/bashrc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/bashrc Tue Sep 04 09:30:40 2012 +0700 +++ b/rc/bashrc Mon Oct 08 08:41:58 2012 +0700 @@ -233,4 +233,8 @@ fi unset _rm +if command -v curl > /dev/null 2>&1; then + alias 0p="curl 'http://0paste.com/pastes.txt' -F 'paste[paste]=<-'" +fi + [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"