From d9a369f1c30a0be7ef00cee8b8543a9f6606f255 Mon Sep 17 00:00:00 2001 From: Josh W Date: Sat, 22 Sep 2018 04:46:28 -0400 Subject: [PATCH] Fix syntax for example Fish alias in Readme. (#159) Fish alias/function example shown for using wget in the Readme uses Bash-style command substitution (with $) rather than Fish-style (no $) and will throw an error when used. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4567a47..bc699c0 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ funcsave transfer ```bash function transfer --description 'Upload a file to transfer.sh' if [ $argv[1] ] - wget -t 1 -qO - --method=PUT --body-file="$argv[1]" --header="Content-Type: $(file -b --mime-type $argv[1])" https://transfer.sh/$(basename $argv[1]) + wget -t 1 -qO - --method=PUT --body-file="$argv[1]" --header="Content-Type: (file -b --mime-type $argv[1])" https://transfer.sh/(basename $argv[1]) else echo 'usage: transfer FILE_TO_TRANSFER' end