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
|
@ -6,23 +6,23 @@ _bzip2()
|
|||
_init_completion || return
|
||||
|
||||
case $prev in
|
||||
-b|-h|--help|-p)
|
||||
--help|-!(-*)[bhp])
|
||||
return
|
||||
;;
|
||||
-n)
|
||||
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
|
||||
-!(-*)n)
|
||||
COMPREPLY=( $(compgen -W "{1..$(_ncpus)}" -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
local helpopts=$( _parse_help "$1" )
|
||||
COMPREPLY=( $( compgen -W "${helpopts//#/} -2 -3 -4 -5 -6 -7 -8 -9" \
|
||||
-- "$cur" ) )
|
||||
local helpopts=$(_parse_help "$1")
|
||||
COMPREPLY=( $(compgen -W "${helpopts//#/} -2 -3 -4 -5 -6 -7 -8 -9" \
|
||||
-- "$cur") )
|
||||
return
|
||||
fi
|
||||
|
||||
local IFS=$'\n' xspec="*.bz2"
|
||||
local IFS=$'\n' xspec="*.?(t)bz2"
|
||||
|
||||
if [[ "$prev" == --* ]]; then
|
||||
[[ "$prev" == --@(decompress|list|test) ]] && xspec="!"$xspec
|
||||
|
@ -35,8 +35,7 @@ _bzip2()
|
|||
_tilde "$cur" || return
|
||||
|
||||
compopt -o filenames
|
||||
COMPREPLY=( $( compgen -f -X "$xspec" -- "$cur" ) \
|
||||
$( compgen -d -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -f -X "$xspec" -- "$cur") $(compgen -d -- "$cur") )
|
||||
} &&
|
||||
complete -F _bzip2 bzip2 pbzip2 lbzip2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue