image previewer using img2sixel

This commit is contained in:
committer@tuxwarrior
2026-02-27 13:22:26 -05:00
parent cbffbab5fe
commit 5164730052

View File

@@ -179,3 +179,11 @@ cmd yb :yank-basename
# misc
cmd edit $nano "$fx"
# preview image files
file="$1"
case "$file" in
*.png|*.jpg|*.jpeg|*.webp)
img2sixel "$file"
;;
esac