Follow redirect

This commit is contained in:
Mylloon 2024-10-01 22:18:56 +02:00
parent c62df5324a
commit 11a45f2afd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -59,7 +59,7 @@ function main {
fish -c "tldr --update" fish -c "tldr --update"
# Fish completion # Fish completion
local url_tldr local url_tldr
url_tldr=$(curl -s https://api.github.com/repos/dbrgn/tealdeer/releases/latest \ url_tldr=$(curl -sL https://api.github.com/repos/dbrgn/tealdeer/releases/latest \
| grep 'browser_download_url": ".*/completions_fish"' \ | grep 'browser_download_url": ".*/completions_fish"' \
| cut --delimiter=":" --field=2,3 \ | cut --delimiter=":" --field=2,3 \
| tr -d \" ) | tr -d \" )