mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-13 18:17:02 -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
|
@ -19,7 +19,7 @@ _slapt_src()
|
|||
$split && return
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1" --help)' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
[[ $COMPREPLY ]] && return
|
||||
fi
|
||||
|
@ -54,12 +54,12 @@ _slapt_src()
|
|||
if [[ "$cur" == *:* ]]; then
|
||||
local name=${cur%:*}
|
||||
local version=${cur##*:}
|
||||
COMPREPLY=( $( LC_ALL=C "$1" --config "$config" --search "^$name" 2> \
|
||||
/dev/null | LC_ALL=C command sed -ne \
|
||||
"/^$cur/{s/^$name:\([^ ]*\) .*$/\1/;p}" ) )
|
||||
COMPREPLY=( $(LC_ALL=C "$1" --config "$config" --search "^$name" \
|
||||
2>/dev/null | LC_ALL=C command sed -ne \
|
||||
"/^$cur/{s/^$name:\([^ ]*\) .*$/\1/;p}") )
|
||||
else
|
||||
COMPREPLY=( $( LC_ALL=C "$1" --config "$config" --search "^$cur" 2> \
|
||||
/dev/null | LC_ALL=C command sed -ne "/^$cur/{s/ .*$//;p}" ) )
|
||||
COMPREPLY=( $(LC_ALL=C "$1" --config "$config" --search "^$cur" \
|
||||
2>/dev/null | LC_ALL=C command sed -ne "/^$cur/{s/ .*$//;p}") )
|
||||
fi
|
||||
} &&
|
||||
complete -F _slapt_src slapt-src
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue