From: Colin P. McCabe <cmccabe@apache.org>
Date: Wed, 5 Feb 2025 00:32:21 +0000 (-0800)
Subject: open: associate .gif with ristretto
X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f1a2ee95ea4d1c62c4ebeb34388480d577835e;p=cmccabe-bin

open: associate .gif with ristretto
---

diff --git a/open b/open
index f2b8f05..0cb549a 100755
--- a/open
+++ b/open
@@ -21,6 +21,7 @@ openwith() {
 # Determine what command to run based on file extension.
 for f in "$@"; do
     case ${f,,} in
+        *.gif) openwith "${f}" ristretto;;
         *.jpg) openwith "${f}" ristretto;;
         *.pdf) openwith "${f}" evince;;
         *) openwith "${f}";;