summaryrefslogtreecommitdiff
path: root/completions/pm-hibernate
blob: da22ba8b2046e5c38b7514bf2ef52841ad03a820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# bash completion for pm-utils

_pm_action()
{
    local cur prev words cword
    _init_completion || return

    COMPREPLY=( $( compgen -W "--help $( _parse_help "$1" )" -- "$cur" ) )
} &&
complete -F _pm_action pm-hibernate pm-suspend pm-suspend-hybrid

# 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