diff --git a/stow/.config/fish/functions/0x0.fish b/stow/.config/fish/functions/0x0.fish index 195318b..c45280c 100644 --- a/stow/.config/fish/functions/0x0.fish +++ b/stow/.config/fish/functions/0x0.fish @@ -1,7 +1,7 @@ function 0x0 --description 'Uploads a file or folder to 0x0.st' if test -d "$argv" set TMPFILE "$(mktemp --suffix '.tar')" - tar cf "$TMPFILE" "$argv" + 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