mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-03-12 04:36:22 -07:00
23 lines
460 B
Bash
23 lines
460 B
Bash
# acpi(1) completion -*- shell-script -*-
|
|
|
|
_acpi()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
case $prev in
|
|
--help | --version | -!(-*)[hv])
|
|
return
|
|
;;
|
|
--directory | -!(-*)d)
|
|
_filedir -d
|
|
return
|
|
;;
|
|
esac
|
|
|
|
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
|
|
} &&
|
|
complete -F _acpi acpi
|
|
|
|
# ex: filetype=sh
|