Use `xdgopen' opener as a fall back. - plumb - Open certain URL patterns with an ad-hoc opener (plumber) (HTM) hg clone https://bitbucket.org/iamleot/plumb (DIR) Log (DIR) Files (DIR) Refs (DIR) README --- (DIR) changeset 395e468897c507fa9744c19412a4bb877c323133 (DIR) parent 3a9945a508315096587a7ff90ac8951740e58a1b (HTM) Author: Leonardo Taccari <iamleot@gmail.com> Date: Wed, 4 Apr 2018 01:57:24 Use `xdgopen' opener as a fall back. If no rule is found just use the `xdgopen' opener. Now plumb can also be used to directly open directly arbitrary files, e.g.: % plumb ~/foo/bar/baz.txt Diffstat: rules | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) --- diff -r 3a9945a50831 -r 395e468897c5 rules --- a/rules Wed Apr 04 01:53:15 2018 +0200 +++ b/rules Wed Apr 04 01:57:24 2018 +0200 @@ -79,4 +79,7 @@ http://* | https://* ) open "web" "$u" ;; +* ) + open "xdgopen" "$u" + ;; esac