nnn/plugins/thumb
Arun Prakash Jana 1cca9e4b72
shellcheck fixes
2019-11-22 11:13:34 +05:30

18 lines
310 B
Bash
Executable file

#!/usr/bin/env sh
# Description: View thumbnail of an image or a directory of images with lsix
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
if ! [ -z "$1" ]; then
if [ -d "$1" ]; then
lsix "$1"/*
else
lsix "$1"
fi
printf "Press any key to exit..."
read -r _
fi