瀏覽代碼

Fix syntax coloring for fish functions

tags/v1.1.0
Max Nordlund 5 年之前
committed by GitHub
父節點
當前提交
799031abf2
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      README.md

+ 2
- 2
README.md 查看文件

@@ -49,7 +49,7 @@ alias transfer=transfer
## Add alias for fish-shell

### Using curl
```bash
```fish
function transfer --description 'Upload a file to transfer.sh'
if [ $argv[1] ]
# write to output to tmpfile because of progress bar
@@ -66,7 +66,7 @@ funcsave transfer
```

### Using wget
```bash
```fish
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])


Loading…
取消
儲存