Skip to content

Commit

Permalink
Merge pull request #33 from bjoern-reetz/update-fzf-urls
Browse files Browse the repository at this point in the history
Update fzf urls
  • Loading branch information
suin authored Dec 6, 2024
2 parents 649e470 + 76d25ee commit 16bb2d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions fzf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@ proto install fzf
proto plugin add fzf "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/fzf/plugin.toml"
proto pin fzf latest --resolve
```

## Installing versions before 0.54

fzf had its URLs changed with version 0.54, so this plugin was updated accordingly to allow installing the latest versions of fzf. To install versions 0.53 and older of fzf with proto, you have to use an older version of this plugin:

```shell
proto plugin add fzf "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/a94ea8ffa8cdcadf4206e50385d8910a27b1cbff/fzf/plugin.toml"
proto pin fzf 0.53.0
```
2 changes: 1 addition & 1 deletion fzf/plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ download-file = "fzf-{version}-windows_{arch}.zip"
checksum-file = "fzf_{version}_checksums.txt"

[install]
download-url = "https://github.com/junegunn/fzf/releases/download/{version}/{download_file}"
download-url = "https://github.com/junegunn/fzf/releases/download/v{version}/{download_file}"

[install.arch]
aarch64 = "arm64"
Expand Down

0 comments on commit 16bb2d4

Please sign in to comment.