comparison rc/bashrc @ 466:8e194cfa2f5f

[bashrc] Private paste alias
author Edho Arief <edho@myconan.net>
date Tue, 14 May 2013 16:04:09 +0900
parents 95dc58db0d27
children ef65da81d2ee
comparison
equal deleted inserted replaced
465:95dc58db0d27 466:8e194cfa2f5f
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 | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'" 259 alias 0p="gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'"
260 alias 0pp="gzip | curl 'http://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'"
260 fi 261 fi
261 262
262 # Priority PATHs. Always enable. 263 # Priority PATHs. Always enable.
263 PATH="${HOME}/bin:${HOME}/.ecos_bin:/opt/local/bin:/opt/local/sbin:${PATH}" 264 PATH="${HOME}/bin:${HOME}/.ecos_bin:/opt/local/bin:/opt/local/sbin:${PATH}"
264 265