Mercurial > ec-dotfiles
comparison rc/bashrc @ 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 |
comparison
equal
deleted
inserted
replaced
737:002d6aa2d76e | 738:687d9ee4a5c9 |
---|---|
272 else | 272 else |
273 alias rm="${_rm} -i" | 273 alias rm="${_rm} -i" |
274 fi | 274 fi |
275 unset _rm | 275 unset _rm |
276 | 276 |
277 if command -v curl > /dev/null 2>&1; then | 277 alias 0p="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[paste_gzip]=@-'" |
278 alias 0p="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[paste_gzip]=@-'" | 278 alias 0pp="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'" |
279 alias 0pp="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'" | |
280 fi | |
281 | 279 |
282 unset _os | 280 unset _os |
283 unset _uid | 281 unset _uid |
284 unset i | 282 unset i |
285 | 283 |