nnn/plugins/imgviu

11 lines
191 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
2019-10-01 02:05:54 +00:00
# Description: View an image or images in a directory in $PAGER
2019-09-29 03:49:44 +00:00
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
2019-10-01 02:05:54 +00:00
viu -n "$1" | less -R
fi