mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-24 19:52:58 -08:00
24 lines
474 B
Bash
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
|