If the query doesn't contain any dot use `S' elvi against it - dotfiles - leot's dotfiles
 (HTM) hg clone https://bitbucket.org/iamleot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset 01d6014ecac8fd366f41f4e985af8f6664799b90
 (DIR) parent 0531c7e4d1be9585527b309f23fb600f47066c0e
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sat,  8 Jun 2019 17:01:08 
       
       If the query doesn't contain any dot use `S' elvi against it
       
       Diffstat:
        surf/surf-setprop |  7 ++++++-
        1 files changed, 6 insertions(+), 1 deletions(-)
       ---
       diff -r 0531c7e4d1be -r 01d6014ecac8 surf/surf-setprop
       --- a/surf/surf-setprop Sat Jun 08 16:42:33 2019 +0200
       +++ b/surf/surf-setprop Sat Jun 08 17:01:08 2019 +0200
       @@ -26,7 +26,12 @@
               [ -n "$1" ] && surfraw -p -- $1 2>/dev/null |
                   awk -v var="$1" '
                   /No elvis or bookmark with that name/ {
       -               printf("%s\n", var)
       +               if (match(var, /\./)) {
       +                       # treat as URL and pass to web browser
       +                       printf("%s\n", var)
       +               } else {
       +                       system(sprintf("surfraw -p S -- %s", var))
       +               }
                       exit 0
                   }