diff options
Diffstat (limited to 'completions/pm-is-supported')
-rw-r--r-- | completions/pm-is-supported | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/completions/pm-is-supported b/completions/pm-is-supported new file mode 100644 index 00000000..c883c74b --- /dev/null +++ b/completions/pm-is-supported @@ -0,0 +1,19 @@ +# pm-is-supported(1) completion + +_pm_is_supported() +{ + local cur prev words cword + _init_completion || return + + COMPREPLY=( $( compgen -W '--help --suspend --hibernate --suspend-hybrid' \ + -- "$cur" ) ) +} && +complete -F _pm_is_supported pm-is-supported + +# Local variables: +# mode: shell-script +# sh-basic-offset: 4 +# sh-indent-comment: t +# indent-tabs-mode: nil +# End: +# ex: ts=4 sw=4 et filetype=sh |