1
0
Fork 0
forked from mirror/nnn

Merge pull request #1830 from c79cea05/master

nuke: use sort -V
This commit is contained in:
Arun 2024-03-05 23:31:45 +05:30 committed by GitHub
commit 5456ba4582
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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() {