1
1
mirror of https://github.com/jarun/nnn.git synced 2024-10-05 17:17:57 +03:00

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