mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
36
msys2/usr/share/bash-completion/completions/xvfb-run
Normal file
36
msys2/usr/share/bash-completion/completions/xvfb-run
Normal file
|
@ -0,0 +1,36 @@
|
|||
# bash completion for xvfb-run -*- shell-script -*-
|
||||
|
||||
_xvfb_run()
|
||||
{
|
||||
local cur prev words cword split
|
||||
_init_completion -s || return
|
||||
|
||||
local i
|
||||
for (( i=1; i <= COMP_CWORD; i++ )); do
|
||||
if [[ ${COMP_WORDS[i]} != -* ]]; then
|
||||
_command_offset $i
|
||||
return
|
||||
fi
|
||||
[[ ${COMP_WORDS[i]} == -!(-*)[npsef] ]] && ((i++))
|
||||
done
|
||||
|
||||
case $prev in
|
||||
--help|--server-num|--xauth-protocol|--server-args|-!(-*)[hnps])
|
||||
return
|
||||
;;
|
||||
--error-file|--auth-file|-!(-*)[ef])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
$split && return
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
fi
|
||||
} &&
|
||||
complete -F _xvfb_run xvfb-run
|
||||
|
||||
# ex: filetype=sh
|
Loading…
Add table
Add a link
Reference in a new issue