mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 02:27:03 -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
|
@ -12,10 +12,10 @@ _info()
|
|||
fi
|
||||
|
||||
case $prev in
|
||||
-k|--apropos|--index-search|-n|--node|-h|--help|-v|--version)
|
||||
--apropos|--index-search|--node|--help|--version|-!(-*)[knhv])
|
||||
return
|
||||
;;
|
||||
-d)
|
||||
-!(-*)d)
|
||||
if [[ ${1##*/} == info ]]; then
|
||||
_filedir -d
|
||||
return
|
||||
|
@ -25,7 +25,7 @@ _info()
|
|||
_filedir -d
|
||||
return
|
||||
;;
|
||||
--dribble|-f|--file|-o|--output|--restore|-r|--raw-filename|--rcfile)
|
||||
--dribble|--file|--output|--restore|--raw-filename|--rcfile|-!(-*)[for])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
|
@ -34,7 +34,7 @@ _info()
|
|||
$split && return
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
return
|
||||
fi
|
||||
|
@ -57,7 +57,7 @@ _info()
|
|||
fi
|
||||
|
||||
# redirect stderr for when path doesn't exist
|
||||
COMPREPLY=( $( eval command ls "$infopath" 2>/dev/null ) )
|
||||
COMPREPLY=( $(eval command ls "$infopath" 2>/dev/null) )
|
||||
# weed out directory path names and paths to info pages
|
||||
COMPREPLY=( ${COMPREPLY[@]##*/?(:)} )
|
||||
# weed out info dir file
|
||||
|
@ -66,7 +66,7 @@ _info()
|
|||
done
|
||||
# strip suffix from info pages
|
||||
COMPREPLY=( ${COMPREPLY[@]%.@(gz|bz2|xz|lzma)} )
|
||||
COMPREPLY=( $( compgen -W '${COMPREPLY[@]%.*}' -- "${cur//\\\\/}" ) )
|
||||
COMPREPLY=( $(compgen -W '${COMPREPLY[@]%.*}' -- "${cur//\\\\/}") )
|
||||
|
||||
} &&
|
||||
complete -F _info info pinfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue