mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
added support svg format
This commit is contained in:
parent
a44b23786f
commit
534aa355a1
|
@ -18,7 +18,7 @@ abspath() {
|
||||||
|
|
||||||
listimages() {
|
listimages() {
|
||||||
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
||||||
'.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
|
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
|
||||||
}
|
}
|
||||||
|
|
||||||
view_dir() {
|
view_dir() {
|
||||||
|
|
|
@ -267,7 +267,7 @@ abspath() {
|
||||||
|
|
||||||
listimages() {
|
listimages() {
|
||||||
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
||||||
'.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
|
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
|
||||||
}
|
}
|
||||||
|
|
||||||
load_dir() {
|
load_dir() {
|
||||||
|
|
Loading…
Reference in a new issue