# HG changeset patch # User nanaya # Date 1638097547 -32400 # Node ID 35c26d9dcaa739f7b7100638feb83cce9485b8dd # Parent 91d7c2e5936ceb679f71bd56bd8602a950ee8d32 Upload file for 0paste alias diff -r 91d7c2e5936c -r 35c26d9dcaa7 rc/bashrc --- a/rc/bashrc Sun Jul 25 21:36:52 2021 +0900 +++ b/rc/bashrc Sun Nov 28 20:05:47 2021 +0900 @@ -282,8 +282,8 @@ unset _rm if command -v curl > /dev/null 2>&1; then - alias 0p="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'" - alias 0pp="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'" + alias 0p="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=@-'" + alias 0pp="gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'" fi if command -v tmux > /dev/null 2>&1; then