Ver a proveniência

Merge pull request #251 from different55/patch-1

Fix fish alias for busybox systems
tags/v1.1.2
Andrea Spacca há 4 anos
committed by GitHub
ascendente
cometimento
a09bcf3bf0
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      README.md

+ 1
- 1
README.md Ver ficheiro

@@ -87,7 +87,7 @@ alias transfer=transfer
function transfer --description 'Upload a file to transfer.sh' function transfer --description 'Upload a file to transfer.sh'
if [ $argv[1] ] if [ $argv[1] ]
# write to output to tmpfile because of progress bar # write to output to tmpfile because of progress bar
set -l tmpfile ( mktemp -t transferXXX )
set -l tmpfile ( mktemp -t transferXXXXXX )
curl --progress-bar --upload-file "$argv[1]" https://transfer.sh/(basename $argv[1]) >> $tmpfile curl --progress-bar --upload-file "$argv[1]" https://transfer.sh/(basename $argv[1]) >> $tmpfile
cat $tmpfile cat $tmpfile
command rm -f $tmpfile command rm -f $tmpfile


Carregando…
Cancelar
Guardar