From 8c6054970f74a37d73c1add8e768b9eb995c3a1b Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 24 Feb 2022 19:15:44 +0300 Subject: [PATCH] URL editing history actually is useful --- urlview/bin/urlview | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urlview/bin/urlview b/urlview/bin/urlview index 59aa515..9259818 100755 --- a/urlview/bin/urlview +++ b/urlview/bin/urlview @@ -3,4 +3,4 @@ cmd=www # regexp is taken from urlview grep -P -o '(((http|https|ftp|gopher)|mailto):(//)?[^ <>\"\t]*|(www|ftp)[0-9]?\\.[-a-z0-9.]+)[^ .,;\t\n\r<\">\\):]?[^, <>\"\t]*[^ .,;\t\n\r<\">\\):]' "$@" | fzf --bind="enter:execute($cmd {})" \ - --bind="ctrl-f:execute(rlwrap --history-filename /dev/null --pre-given={} head -1 | xargs $cmd)" + --bind="ctrl-f:execute(rlwrap --pre-given={} head -1 | xargs $cmd)" -- 2.44.0