mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:57:17 +08:00
91d6e50ed8
systemd-boot control tools
26 lines
2.1 KiB
Fish
26 lines
2.1 KiB
Fish
set -l commands status install update remove is-installed random-seed systemd-efi-options reboot-to-firmware list set-default set-oneshot
|
|
|
|
complete -c bootctl -f
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a status -d 'Show status of EFI variables'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a install -d 'Install systemd-boot'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a update -d 'Update systemd-boot'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a remove -d 'Remove systemd-boot'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a is-installed -d 'Test whether systemd-boot is installed'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a random-seed -d 'Initialize random seed'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a systemd-efi-options -d 'Query or set system options string'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a reboot-to-firmware -d 'Query or set reboot-to-firmware EFI flag'
|
|
complete -c bootctl -n "__fish_seen_subcommand_from reboot-to-firmware" -a 'true false'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a list -d 'List boot loader entries'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a set-default -d 'Set default boot loader entry'
|
|
complete -c bootctl -n "not __fish_seen_subcommand_from $commands" -a set-oneshot -d 'Set default boot loader entry (Once)'
|
|
|
|
complete -c bootctl -s h -l help -d 'Show this help'
|
|
complete -c bootctl -l version -d 'Print version'
|
|
complete -c bootctl -l esp-path -r -d 'Path to the EFI System Partition (ESP)'
|
|
complete -c bootctl -l boot-path -r -d 'Path to the $BOOT partition'
|
|
complete -c bootctl -s p -l print-esp-path -d 'Print path to the EFI System Partition'
|
|
complete -c bootctl -s x -l print-boot-path -d 'Print path to the $BOOT partition'
|
|
complete -c bootctl -l no-variables -d 'Do not touch EFI variables'
|
|
complete -c bootctl -l no-pager -d 'Do not pipe output into a pager'
|
|
complete -c bootctl -l graceful -d 'Do not print fail'
|