bin/b: accept all kinds of archives (e.g. jar)
This commit is contained in:
parent
2bed0f63be
commit
77fd546800
|
@ -47,7 +47,8 @@ for arg; do
|
||||||
;;
|
;;
|
||||||
(*\ video/*)
|
(*\ video/*)
|
||||||
suffix=_thumbs.jpg
|
suffix=_thumbs.jpg
|
||||||
mtn -i -t -W -D6 -b 0,6 -c $grid -w $(expr $(tput cols) '*' 20) -O $prefix -o $suffix "$arg" 2>/dev/null
|
mtn -i -t -W -D6 -b 0,6 -c $grid -w $(expr $(tput cols) '*' 20) \
|
||||||
|
-O $prefix -o $suffix "$arg" 2>/dev/null
|
||||||
timg -W "$prefix/$(basename "${arg%.*}")$suffix"
|
timg -W "$prefix/$(basename "${arg%.*}")$suffix"
|
||||||
;;
|
;;
|
||||||
(*\ image/*)
|
(*\ image/*)
|
||||||
|
@ -68,7 +69,7 @@ for arg; do
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
(*:\ *compress*|*tar\ archive)
|
(*:\ *compress*|*\ archive*)
|
||||||
if test $# = 1
|
if test $# = 1
|
||||||
then nvim "$arg"
|
then nvim "$arg"
|
||||||
else case "$arg" in (*.part);; (*)
|
else case "$arg" in (*.part);; (*)
|
||||||
|
|
Loading…
Reference in New Issue