Follow redirect
This commit is contained in:
parent
c62df5324a
commit
11a45f2afd
1 changed files with 1 additions and 1 deletions
|
@ -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 \" )
|
||||||
|
|
Loading…
Reference in a new issue