summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_bootctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/zsh/_bootctl')
-rw-r--r--shell-completion/zsh/_bootctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl
index f107005814..0ffef94e4a 100644
--- a/shell-completion/zsh/_bootctl
+++ b/shell-completion/zsh/_bootctl
@@ -1,7 +1,7 @@
#compdef bootctl
# SPDX-License-Identifier: LGPL-2.1+
-(( $+functions[_bootctl_command] )) || _bootctl_command()
+(( $+functions[_bootctl_commands] )) || _bootctl_commands()
{
local -a _bootctl_cmds
_bootctl_cmds=(
@@ -28,4 +28,4 @@ _arguments \
'--version[Prints a short version string and exits.]' \
'--path=[Path to the EFI System Partition (ESP)]:path:_directories' \
'--no-variables[Do not touch EFI variables]' \
- '*::bootctl command:_bootctl_command'
+ '*::bootctl command:_bootctl_commands'