_list_blogs: Sort from newest to oldest
This commit is contained in:
parent
edc70975e3
commit
59eca34cda
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(O))
|
local -a blog_files=(blog/*.blog(On))
|
||||||
|
|
||||||
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