1
0
Fork 0
forked from mirror/nnn

nuke: use sort -V

This commit is contained in:
c79cea05 2024-02-23 09:21:15 +09:00 committed by tezlm
parent c772e13da1
commit 48d7976f90
Signed by: tezlm
GPG key ID: 649733FCD94AFBBA

View file

@ -271,7 +271,7 @@ abspath() {
listimages() {
find -L "///${1%/*}" -maxdepth 1 -type f -print0 |
grep -izZE '\.(jpe?g|png|gif|webp|tiff|bmp|ico|svg)$' |
sort -z | tee "$tmp"
sort -zV | tee "$tmp"
}
load_dir() {