From f218619d247163f3891dca0ff3b81fa539f5d047 Mon Sep 17 00:00:00 2001 From: b9 Date: Thu, 10 Sep 2020 14:28:38 -0700 Subject: [PATCH] Show webp images by default Previously, lsix only showed webp if the filename was specified. Now, webp files will be listed if no filenames are given on the command line. --- lsix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsix b/lsix index c32e059..0fa852f 100755 --- a/lsix +++ b/lsix @@ -189,7 +189,7 @@ main() { if [[ $# == 0 ]]; then # No command line args? Use a sorted list of image files in CWD. shopt -s nullglob nocaseglob nocasematch - set -- *{jpg,jpeg,png,gif,tiff,tif,p?m,x[pb]m,bmp,ico,svg,eps} + set -- *{jpg,jpeg,png,gif,webp,tiff,tif,p?m,x[pb]m,bmp,ico,svg,eps} [[ $# != 0 ]] || exit readarray -t < <(printf "%s\n" "$@" | sort)