]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
zsh-completion: update bootctl
authorRonny Chevalier <chevalier.ronny@gmail.com>
Sun, 24 May 2015 11:25:52 +0000 (13:25 +0200)
committerRonny Chevalier <chevalier.ronny@gmail.com>
Sat, 30 May 2015 09:19:35 +0000 (11:19 +0200)
shell-completion/zsh/_bootctl

index 7d2453cc2c332e0abdf46fc90485dccd07dfa407..ce776c052f6b99a0add72725ab9f3e3c6ec76957 100644 (file)
@@ -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'