From 59eca34cda8834918dcdc38cba3c948238c55076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 21:48:45 +0100 Subject: [PATCH] _list_blogs: Sort from newest to oldest --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 4ad8b7c..e1cb31d 100755 --- a/qsgen2 +++ b/qsgen2 @@ -181,7 +181,7 @@ function _list_blogs() { setopt local_options null_glob # 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 ${debug}; then _msg debug "_list_blogs: No blog files found."; fi