wfxr / tmux-fzf-url

🚀 Quickly open urls on your terminal screen!
Other
526 stars 42 forks source link

fix: urls of the form "https://www.*" show up twice in fzf selection #18

Closed nifr closed 3 years ago

nifr commented 3 years ago

This PR fixes the behavior described in #17.

It does so by optionally including https?:// in the matches found by the wwws filter. The pipe to grep -vE '^https?://' then filters out these duplicate results (they are already found by theurls` filter).

The result is a unique selection list that does not include unwanted duplicate results :)

wfxr commented 3 years ago

@nifr Make sense. Thanks you!