24 lines
474 B
Bash

# desktop-file-validate completion -*- shell-script -*-
_desktop_file_validate()
{
local cur prev words cword
_init_completion || return
case $prev in
--help)
return
;;
esac
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
return
fi
_filedir desktop
} &&
complete -F _desktop_file_validate desktop-file-validate
# ex: filetype=sh