comparison rc/bashrc @ 658:35c26d9dcaa7

Upload file for 0paste alias
author nanaya <me@nanaya.pro>
date Sun, 28 Nov 2021 20:05:47 +0900
parents 4c30afd0451f
children 71254a6ddb4c
comparison
equal deleted inserted replaced
657:91d7c2e5936c 658:35c26d9dcaa7
280 alias rm="${_rm} -i" 280 alias rm="${_rm} -i"
281 fi 281 fi
282 unset _rm 282 unset _rm
283 283
284 if command -v curl > /dev/null 2>&1; then 284 if command -v curl > /dev/null 2>&1; then
285 alias 0p="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'" 285 alias 0p="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=@-'"
286 alias 0pp="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'" 286 alias 0pp="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'"
287 fi 287 fi
288 288
289 if command -v tmux > /dev/null 2>&1; then 289 if command -v tmux > /dev/null 2>&1; then
290 case "${_os}" in 290 case "${_os}" in
291 OpenBSD) 291 OpenBSD)