summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2023-05-10 21:59:39 +0200
committerJelle Raaijmakers <jelle@gmta.nl>2023-05-17 12:55:15 +0200
commitef7afd833154e9cd71759a15ccea12b8a3b0a4ca (patch)
tree871b960225b7f45687f82f5db769185fa1fc9057 /Meta
parent96f89d14a344ebdeef711a0d1afda21c393531e7 (diff)
downloadserenity-ef7afd833154e9cd71759a15ccea12b8a3b0a4ca.zip
Meta/ShellCompletions: Complete command list
The command list was missing the help command, and the command order was different from the help output.
Diffstat (limited to 'Meta')
-rw-r--r--Meta/ShellCompletions/zsh/_serenity7
1 files changed, 6 insertions, 1 deletions
diff --git a/Meta/ShellCompletions/zsh/_serenity b/Meta/ShellCompletions/zsh/_serenity
index d2916a3f1b..f23c3126fb 100644
--- a/Meta/ShellCompletions/zsh/_serenity
+++ b/Meta/ShellCompletions/zsh/_serenity
@@ -10,10 +10,10 @@ _serenity() {
local commands
commands=(
+ 'help'
'build'
'install'
'image'
- 'copy-src'
'run'
'gdb'
'test'
@@ -24,6 +24,7 @@ _serenity() {
'addr2line'
'rebuild-toolchain'
'rebuild-world'
+ 'copy-src'
)
local targets
@@ -51,6 +52,10 @@ _serenity() {
# lagom target is not supported for these, remove from targets
targets[$targets[(i)lagom]]=()
;;
+ help)
+ # Help command has no targets.
+ targets=()
+ ;;
esac
_describe 'target' targets
;;