mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-19 21:03: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
|
@ -16,24 +16,23 @@ _postmap()
|
|||
esac
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") )
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ "$cur" == *:* ]]; then
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -f -- "${cur#*:}" ) )
|
||||
COMPREPLY=( $(compgen -f -- "${cur#*:}") )
|
||||
else
|
||||
local len=${#cur} idx=0 pval
|
||||
for pval in $( /usr/sbin/postconf -m 2>/dev/null ); do
|
||||
local len=${#cur} pval
|
||||
for pval in $(/usr/sbin/postconf -m 2>/dev/null); do
|
||||
if [[ "$cur" == "${pval:0:$len}" ]]; then
|
||||
COMPREPLY[$idx]="$pval:"
|
||||
idx=$(($idx+1))
|
||||
COMPREPLY+=( "$pval:" )
|
||||
fi
|
||||
done
|
||||
if [[ $idx -eq 0 ]]; then
|
||||
if [[ ! $COMPREPLY ]]; then
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -f -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -f -- "$cur") )
|
||||
fi
|
||||
fi
|
||||
} &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue