From bcba4e618a5da7d5d201f68fbfaa2377d97f145d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Reetz?= Date: Sat, 30 Nov 2024 21:32:48 +0100 Subject: [PATCH 1/2] fix: update fzf URLs --- fzf/plugin.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fzf/plugin.toml b/fzf/plugin.toml index c98840b..29add93 100644 --- a/fzf/plugin.toml +++ b/fzf/plugin.toml @@ -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" From 76d25ee7879fd19fab72204260b53dec04b1d217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Reetz?= Date: Sat, 30 Nov 2024 21:33:24 +0100 Subject: [PATCH 2/2] docs: add instructions to install fzf version 0.53 and older using GitHub permalinks --- fzf/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fzf/README.md b/fzf/README.md index e1de567..960bb9b 100644 --- a/fzf/README.md +++ b/fzf/README.md @@ -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 +```