Skip to content

Commit

Permalink
docs: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLYC committed Sep 14, 2023
1 parent 93e7964 commit 2f568c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ cmdr upgrade
### Url replacement
Speed up the download process by replacing the `url` to github proxy:
```shell
cmdr config set -k download.replace -v '{"match": "^https://raw.githubusercontent.com/.*$", "template": "https://ghproxy.com/{{ .input | urlquery }}"}'
cmdr config set -k download.replace -v '[{"match": "^https://raw.githubusercontent.com/.*$", "template": "https://ghproxy.com/{{ .input | urlquery }}"}]'
cmdr command install -n install.sh -v 0.0.0 -l https://raw.githubusercontent.com/MrLYC/cmdr/master/install.sh
```
```

0 comments on commit 2f568c1

Please sign in to comment.