# HG changeset patch # User nanaya # Date 1736360565 -32400 # Node ID 687d9ee4a5c937dcd3c4e5f2a599ed43091819d8 # Parent 002d6aa2d76e84eb189258d0a674ac0ac9ec6262 [bashrc] Skip curl check for 0paste aliases diff -r 002d6aa2d76e -r 687d9ee4a5c9 rc/bashrc --- a/rc/bashrc Thu Jan 09 03:16:29 2025 +0900 +++ b/rc/bashrc Thu Jan 09 03:22:45 2025 +0900 @@ -274,10 +274,8 @@ fi unset _rm -if command -v curl > /dev/null 2>&1; then - alias 0p="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[paste_gzip]=@-'" - alias 0pp="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'" -fi +alias 0p="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[paste_gzip]=@-'" +alias 0pp="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'" unset _os unset _uid