summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_fortune2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b09cbed6..51b0ea429 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2025-11-03 Oliver Kiddle <opk@zsh.org>
+ * Christopher Bock: github #148: Completion/Unix/Command/_fortune:
+ complete fortune databases
+
* 54022: Completion/BSD/Command/_fw_update,
Completion/BSD/Command/_rcctl, Completion/Unix/Command/_sysctl,
Completion/Unix/Command/_watch: completion updates for openbsd 7.8
diff --git a/Completion/Unix/Command/_fortune b/Completion/Unix/Command/_fortune
index c0eca56a3..050fb8253 100644
--- a/Completion/Unix/Command/_fortune
+++ b/Completion/Unix/Command/_fortune
@@ -12,4 +12,4 @@ _arguments \
'-s[short apothegms only]' \
'-i[ignore case for -m patterns]' \
'-w[wait before termination for a time based on msg length]' \
- '*:databases'
+ '*:fortune db:_files -W /usr/share/games/fortune(|s) -g "*(.:r)"'