diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 60f38901a..bdf21ab54 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -68,6 +68,7 @@ Completions - ``firefox`` - ``firefox-developer-edition`` + - ``fortune`` - ``kind`` (:issue:`9110`) - ``zig`` (:issue:`9083`) - ``sad`` diff --git a/share/completions/fortune.fish b/share/completions/fortune.fish new file mode 100644 index 000000000..375bd1034 --- /dev/null +++ b/share/completions/fortune.fish @@ -0,0 +1,12 @@ +# Fish completions for fortune + +complete -c fortune -s a -d 'Include offensive fortunes' +complete -c fortune -s e -d 'Equal category weighting' +complete -c fortune -s f -d 'Print fortune categories' +complete -c fortune -s i -d 'Ignore case for regex patterns' +complete -c fortune -s l -d 'Long fortunes only' +complete -c fortune -s m -r -d 'Print all fortunes that match regex pattern' +complete -c fortune -s n -r -d 'Set short/long fortune threshold' +complete -c fortune -s o -d 'Offensive fortunes only' +complete -c fortune -s s -d 'Short fortunes only' +complete -c fortune -s w -d 'Add a wait time for reading'