changeset 466:8e194cfa2f5f

[bashrc] Private paste alias
author Edho Arief <edho@myconan.net>
date Tue, 14 May 2013 16:04:09 +0900
parents 95dc58db0d27
children 8ef5ddb9b54b
files rc/bashrc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bashrc	Mon May 13 13:22:40 2013 +0900
+++ b/rc/bashrc	Tue May 14 16:04:09 2013 +0900
@@ -257,6 +257,7 @@
 
 if command -v curl > /dev/null 2>&1; then
   alias 0p="gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'"
+  alias 0pp="gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'"
 fi
 
 # Priority PATHs. Always enable.