mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Add poweroff autocomplete
This commit is contained in:
parent
913624cbfa
commit
a965a71079
1 changed files with 8 additions and 0 deletions
8
share/completions/poweroff.fish
Normal file
8
share/completions/poweroff.fish
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
complete -c poweroff -l help -d "Show help"
|
||||||
|
complete -c poweroff -l halt -d "Halt the machine"
|
||||||
|
complete -c poweroff -l poweroff -s p -d "Switch off the machine"
|
||||||
|
complete -c poweroff -l reboot -d "Reboot the machine"
|
||||||
|
complete -c poweroff -l force -s f -d "Force immediate halt/power-off/reboot"
|
||||||
|
complete -c poweroff -l wtmp-only -s w -d "Just write wtmp record"
|
||||||
|
complete -c poweroff -l no-wtmp -s d -d "Don't write wtmp record"
|
||||||
|
complete -c poweroff -l no-wall -d "Don't send wall message"
|
Loading…
Reference in a new issue