comparison rc/bashrc @ 465:95dc58db0d27

0paste without base64
author Edho Arief <edho@myconan.net>
date Mon, 13 May 2013 13:22:40 +0900
parents 9c9aeccbdadf
children 8e194cfa2f5f
comparison
equal deleted inserted replaced
464:9c9aeccbdadf 465:95dc58db0d27
254 alias rm="${_rm} -i" 254 alias rm="${_rm} -i"
255 fi 255 fi
256 unset _rm 256 unset _rm
257 257
258 if command -v curl > /dev/null 2>&1; then 258 if command -v curl > /dev/null 2>&1; then
259 alias 0p="gzip | openssl base64 | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip_base64]=<-'" 259 alias 0p="gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'"
260 fi 260 fi
261 261
262 # Priority PATHs. Always enable. 262 # Priority PATHs. Always enable.
263 PATH="${HOME}/bin:${HOME}/.ecos_bin:/opt/local/bin:/opt/local/sbin:${PATH}" 263 PATH="${HOME}/bin:${HOME}/.ecos_bin:/opt/local/bin:/opt/local/sbin:${PATH}"
264 264