From 7eb4eb716c84981a42e6763b087b900dfc68bc50 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 29 Jul 2023 16:16:51 +0300 Subject: [PATCH] fix script --- config/newsboat/kitty-img-pager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/newsboat/kitty-img-pager.sh b/config/newsboat/kitty-img-pager.sh index a4b30713..c4940774 100755 --- a/config/newsboat/kitty-img-pager.sh +++ b/config/newsboat/kitty-img-pager.sh @@ -13,7 +13,7 @@ set -o pipefail set -o nounset -image=$(grep -E -o "https?://[a-zA-Z0-9./?=_%:-]*" < "${1}" | tail -1) +image=$(grep -E -o "https?://[a-zA-Z0-9./?=_%:-]*" < "${#}" | tail -1) # Detect terminal dimensions dims="$(tput cols)x$(tput lines)@0x0"