| Server IP : 178.128.116.179 / Your IP : 216.73.216.206 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# xdg-settings completion -*- shell-script -*-
_xdg_settings()
{
local cur prev words cword
_init_completion || return
case $prev in
--help | --list | --manual | --version)
return
;;
esac
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '$("$1" --help |
tr "{|" "\n" | _parse_help -)' -- "$cur"))
return
fi
local args
_count_args
if ((args == 1)); then
COMPREPLY=($(compgen -W "get check set" -- "$cur"))
elif ((args == 2)); then
COMPREPLY=($(compgen -W \
'$("$1" --list | awk "!/^Known/ { print \$1 }")' -- "$cur"))
fi
} &&
complete -F _xdg_settings xdg-settings
# ex: filetype=sh