summaryrefslogtreecommitdiffstats
path: root/completions/pm-is-supported
blob: adc7fde757c2be1ac6e586bbc20a02e4f2214b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# pm-is-supported(1) completion                            -*- shell-script -*-

_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

# ex: filetype=sh