nnn/plugins/imgviu
2019-11-22 17:51:13 +05:30

11 lines
191 B
Bash
Executable file

#!/usr/bin/env sh
# Description: View an image or images in a directory in $PAGER
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
viu -n "$1" | less -R
fi