shell: remove 0x0 functions because broken
This commit is contained in:
parent
4ac3953885
commit
3d7a4ba0c2
2 changed files with 0 additions and 31 deletions
|
|
@ -1,9 +0,0 @@
|
|||
function 0x0 --description 'Uploads a file or folder to 0x0.st'
|
||||
if test -d "$argv"
|
||||
set TMPFILE "$(mktemp --suffix '.tar')"
|
||||
tar cvf "$TMPFILE" "$argv"
|
||||
curl -F file="@$TMPFILE" -F expires=24 https://0x0.st
|
||||
else
|
||||
curl -F file=@"$argv" -F expires=24 https://0x0.st
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue