URI: 
       tPrefer ytdl over http in the main switch clause. - plumber - simple plumber tool
  HTML git clone https://git.parazyd.org/plumber
   DIR Log
   DIR Files
   DIR Refs
       ---
   DIR commit e9ac19aa1fb596a5084b7e03498f406160645b10
   DIR parent ed1442be2d41c082abf0517627fcf39639364cde
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Wed, 13 May 2020 11:02:36 +0200
       
       Prefer ytdl over http in the main switch clause.
       
       Diffstat:
         M p                                   |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/p b/p
       t@@ -39,6 +39,10 @@ gopher://*)
                esac
                ;;
        
       +ytdl://*|*www.youtube.com*|*vimeo.com*|*dailymotion.com*)
       +        mpv "$clip" &
       +        ;;
       +
        http://*|https://*)
                case "$clip" in
                *.jpg|*.jpeg|*.JPG|*.JPEG|*.png|*.PNG)
       t@@ -56,10 +60,6 @@ http://*|https://*)
                esac
                ;;
        
       -ytdl://*|*www.youtube.com*|*vimeo.com*|*dailymotion.com*)
       -        mpv "$clip" &
       -        ;;
       -
        ssh://*)
                $TERMCMD ssh "$clip" &
                ;;