_list_blogs: Sort from newest to oldest
This commit is contained in:
parent
9dc045e9b2
commit
edc70975e3
2
qsgen2
2
qsgen2
@ -181,7 +181,7 @@ function _list_blogs() {
|
|||||||
setopt local_options null_glob
|
setopt local_options null_glob
|
||||||
|
|
||||||
# Directly capture matching blog files into an array
|
# Directly capture matching blog files into an array
|
||||||
local -a blog_files=(blog/*.blog)
|
local -a blog_files=(blog/*.blog(O))
|
||||||
|
|
||||||
if (( ${#blog_files[@]} == 0 )); then
|
if (( ${#blog_files[@]} == 0 )); then
|
||||||
if ${debug}; then _msg debug "_list_blogs: No blog files found."; fi
|
if ${debug}; then _msg debug "_list_blogs: No blog files found."; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user