소스 검색

Fix syntax coloring for fish functions

tags/v1.1.0
Max Nordlund 5 년 전
committed by GitHub
부모
커밋
799031abf2
No known key found for this signature in database 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])


불러오는 중...
취소
저장