mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-27 10:25:06 +03:00
zsh-completion: update bootctl
This commit is contained in:
parent
0805e9a9c8
commit
da090dfd0b
@ -4,7 +4,10 @@
|
||||
{
|
||||
local -a _bootctl_cmds
|
||||
_bootctl_cmds=(
|
||||
"status:Show current firmware and boot settings"
|
||||
"status:Show status of installed systemd-boot and EFI variables"
|
||||
"instal:Install systemd-boot to the ESP and EFI variables"
|
||||
"update:Update systemd-boot in the ESP and EFI variables"
|
||||
"remove:Remove systemd-boot from the ESP and EFI variables"
|
||||
)
|
||||
if (( CURRENT == 1 )); then
|
||||
_describe -t commands 'bootctl command' _bootctl_cmds || compadd "$@"
|
||||
@ -22,4 +25,6 @@
|
||||
_arguments \
|
||||
{-h,--help}'[Prints a short help text and exits.]' \
|
||||
'--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'
|
||||
|
Loading…
Reference in New Issue
Block a user