Mercurial > ec-dotfiles
changeset 738:687d9ee4a5c9
[bashrc] Skip curl check for 0paste aliases
| author | nanaya <me@nanaya.net> | 
|---|---|
| date | Thu, 09 Jan 2025 03:22:45 +0900 | 
| parents | 002d6aa2d76e | 
| children | 2cf87b7ca09a | 
| files | rc/bashrc | 
| diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] | 
line wrap: on
 line diff
--- 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
