mirror of
https://github.com/jarun/nnn.git
synced 2024-08-19 22:12:58 +00:00
18 lines
312 B
Plaintext
18 lines
312 B
Plaintext
|
#!/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
|
||
|
|
||
|
echo -n "Press any key to exit..."
|
||
|
read dummy
|
||
|
fi
|