1 2 3 4 5 6 7 8 9 10 11 12
# pm-powersave(8) completion -*- shell-script -*- _pm_powersave() { local cur prev words cword _init_completion || return COMPREPLY=($(compgen -W "true false" -- "$cur")) } && complete -F _pm_powersave pm-powersave # ex: filetype=sh