]> Sergey Matveev's repositories - dotfiles.git/blobdiff - urlview/bin/urlview
URL editing history actually is useful
[dotfiles.git] / urlview / bin / urlview
index 59aa515955998e79782aef94aad5bdcf0144bd32..9259818644e549b79c7650328061c51422a7119d 100755 (executable)
@@ -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)"