mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 13:23:27 -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
|
@ -8,18 +8,18 @@ _lzip()
|
|||
local decompress=false
|
||||
|
||||
case $prev in
|
||||
-h|--help|-V|--version|-b|--member-size|-m|--match-length|\
|
||||
-s|--dictionary-size|-S|--volume-size|-B|--data-size)
|
||||
--help|--version|--member-size|--match-length|--dictionary-size|\
|
||||
--volume-size|--data-size|-!(-*)@([bmsSB]|[hV]*))
|
||||
return
|
||||
;;
|
||||
-d|--decompress)
|
||||
--decompress-!(-*)d)
|
||||
decompress=true
|
||||
;;
|
||||
-n|--threads)
|
||||
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
|
||||
--threads-!(-*)n)
|
||||
COMPREPLY=( $(compgen -W "{1..$(_ncpus)}" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-o|--output)
|
||||
--output-!(-*)o)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
|
@ -28,8 +28,7 @@ _lzip()
|
|||
$split && return
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" ) {-1..-9}' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1") {-1..-9}' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
return
|
||||
fi
|
||||
|
@ -41,8 +40,7 @@ _lzip()
|
|||
|
||||
local IFS=$'\n'
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -f -X "*.lz" -- "$cur" ) \
|
||||
$( compgen -d -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -f -X "*.lz" -- "$cur") $(compgen -d -- "$cur") )
|
||||
} &&
|
||||
complete -F _lzip clzip lzip pdlzip plzip
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue