mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 21:33:21 -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
|
@ -15,25 +15,23 @@ _xz()
|
|||
_filedir
|
||||
return
|
||||
;;
|
||||
-C|--check)
|
||||
COMPREPLY=( $( compgen -W 'crc32 crc64 sha256 none' -- "$cur" ) )
|
||||
--check|-!(-*)C)
|
||||
COMPREPLY=( $(compgen -W 'crc32 crc64 sha256 none' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-F|--format)
|
||||
COMPREPLY=( $( compgen -W 'auto xz lzma raw' -- "$cur" ) )
|
||||
--format|-!(-*)F)
|
||||
COMPREPLY=( $(compgen -W 'auto xz lzma raw' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-T|--threads)
|
||||
COMPREPLY=( $( compgen -W "{0..$(_ncpus)}" -- "$cur" ) )
|
||||
--threads|-!(-*)T)
|
||||
COMPREPLY=( $(compgen -W "{0..$(_ncpus)}" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-M|--memlimit|--memlimit-compress|--memlimit-decompress|--memory|\
|
||||
-S|--suffix|--delta|--lzma1|--lzma2)
|
||||
# argument required but no completions available
|
||||
--memlimit|--memlimit-compress|--memlimit-decompress|--memory|\
|
||||
--suffix|--delta|--lzma1|--lzma2|-!(-*)[MS])
|
||||
return
|
||||
;;
|
||||
-h|--help|-H|--long-help|-V|--version|--info-memory)
|
||||
# all other arguments are noop with these
|
||||
--help|--long-help|--version|--info-memory|-!(-*)[hHV])
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
@ -41,8 +39,8 @@ _xz()
|
|||
$split && return
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --long-help ) {-1..-9}' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1" --long-help) {-1..-9}' \
|
||||
-- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
return
|
||||
fi
|
||||
|
@ -51,8 +49,7 @@ _xz()
|
|||
|
||||
local IFS=$'\n'
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -f -X "$xspec" -- "$cur" ) \
|
||||
$( compgen -d -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -f -X "$xspec" -- "$cur") $(compgen -d -- "$cur") )
|
||||
} &&
|
||||
complete -F _xz xz pxz
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue