Follow redirect
This commit is contained in:
parent
c62df5324a
commit
ddf452bd52
2 changed files with 2 additions and 2 deletions
2
meta.sh
2
meta.sh
|
@ -122,7 +122,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 \" )
|
||||||
|
|
|
@ -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