nnn/plugins/imgviu

11 lines
191 B
Text
Raw Normal View History

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