bash-completion/completions/xrdb

28 lines
529 B
Plaintext
Raw Normal View History

# xrdb(1) completion -*- shell-script -*-
2010-09-14 11:00:31 -07:00
_xrdb()
{
local cur prev words cword
_init_completion || return
2010-09-14 11:00:31 -07:00
case $prev in
-backup|-display|-help)
return 0
;;
-cpp|-edit)
_filedir
return 0
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
2010-09-14 11:00:31 -07:00
return 0
fi
_filedir
} &&
complete -F _xrdb xrdb
2010-09-14 11:00:31 -07:00
# ex: ts=4 sw=4 et filetype=sh