diff options
author | Clément Martinez <clementmartinezdev@gmail.com> | 2016-06-07 16:50:28 +0200 |
---|---|---|
committer | Clément Martinez <clementmartinezdev@gmail.com> | 2016-06-07 16:50:28 +0200 |
commit | a965a710799a5757936b2216f8510de2382e48e8 (patch) | |
tree | 23ab94dc31ed061b79090193cd904f84df43670f | |
parent | 913624cbfac4f1b3dd90f47c7645c3977dc511ff (diff) |
Add poweroff autocomplete
-rw-r--r-- | share/completions/poweroff.fish | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/completions/poweroff.fish b/share/completions/poweroff.fish new file mode 100644 index 00000000..3546cd98 --- /dev/null +++ b/share/completions/poweroff.fish @@ -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" |