diff options
Diffstat (limited to '')
-rw-r--r-- | home/home.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix index 74f6bde..604f490 100644 --- a/home/home.nix +++ b/home/home.nix @@ -59,7 +59,7 @@ echo "No url given" return end - set choice (curl $url | rg -e '<a[^>]*href="([^"]*\.pdf)"[^>]*>([^<]*)</a>' -o | sed 's/<a[^>]*href="\([^"]*\)"[^>]*>\(.*\)<\/a>/"\1" "\2"/g' | fzf) + set choice (curl -L $url | rg -e '<a[^>]*href="([^"]*\.pdf)"[^>]*>([^<]*)</a>' -o | sed 's/<a[^>]*href="\([^"]*\)"[^>]*>\(.*\)<\/a>/"\1" "\2"/g' | fzf) if test "$status" != 0 return end |