mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-20 05:13:25 -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
|
@ -9,7 +9,7 @@ _find()
|
|||
|
||||
case $prev in
|
||||
-maxdepth|-mindepth)
|
||||
COMPREPLY=( $( compgen -W '{0..9}' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '{0..9}' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-newer|-anewer|-cnewer|-fls|-fprint|-fprint0|-fprintf|-name|-iname|\
|
||||
|
@ -20,7 +20,7 @@ _find()
|
|||
-fstype)
|
||||
_fstypes
|
||||
[[ $OSTYPE == *bsd* ]] && \
|
||||
COMPREPLY+=( $( compgen -W 'local rdonly' -- "$cur" ) )
|
||||
COMPREPLY+=( $(compgen -W 'local rdonly' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-gid)
|
||||
|
@ -28,11 +28,11 @@ _find()
|
|||
return
|
||||
;;
|
||||
-group)
|
||||
COMPREPLY=( $( compgen -g -- "$cur" 2>/dev/null) )
|
||||
COMPREPLY=( $(compgen -g -- "$cur" 2>/dev/null) )
|
||||
return
|
||||
;;
|
||||
-xtype|-type)
|
||||
COMPREPLY=( $( compgen -W 'b c d p f l s' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'b c d p f l s' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-uid)
|
||||
|
@ -40,7 +40,7 @@ _find()
|
|||
return
|
||||
;;
|
||||
-user)
|
||||
COMPREPLY=( $( compgen -u -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -u -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-exec|-execdir|-ok|-okdir)
|
||||
|
@ -56,15 +56,15 @@ _find()
|
|||
return
|
||||
;;
|
||||
-regextype)
|
||||
COMPREPLY=( $( compgen -W 'emacs posix-awk posix-basic posix-egrep
|
||||
posix-extended' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'emacs posix-awk posix-basic posix-egrep
|
||||
posix-extended' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
local i exprfound=false
|
||||
# set exprfound to true if there is already an expression present
|
||||
for i in ${words[@]}; do
|
||||
for i in "${words[@]}"; do
|
||||
[[ "$i" == [-\(\),\!]* ]] && exprfound=true && break
|
||||
done
|
||||
|
||||
|
@ -75,7 +75,7 @@ _find()
|
|||
fi
|
||||
|
||||
# complete using basic options
|
||||
COMPREPLY=( $( compgen -W '-daystart -depth -follow -help
|
||||
COMPREPLY=( $(compgen -W '-daystart -depth -follow -help
|
||||
-ignore_readdir_race -maxdepth -mindepth -mindepth -mount
|
||||
-noignore_readdir_race -noleaf -regextype -version -warn -nowarn -xdev
|
||||
-amin -anewer -atime -cmin -cnewer -ctime -empty -executable -false
|
||||
|
@ -84,7 +84,7 @@ _find()
|
|||
-readable -regex -samefile -size -true -type -uid -used -user
|
||||
-wholename -writable -xtype -context -delete -exec -execdir -fls
|
||||
-fprint -fprint0 -fprintf -ls -ok -okdir -print -print0 -printf -prune
|
||||
-quit' -- "$cur" ) )
|
||||
-quit' -- "$cur") )
|
||||
|
||||
if [[ ${#COMPREPLY[@]} -ne 0 ]]; then
|
||||
# this removes any options from the list of completions that have
|
||||
|
@ -98,7 +98,7 @@ _find()
|
|||
local j
|
||||
for i in "${words[@]}"; do
|
||||
[[ $i && ${onlyonce[$i]} ]] || continue
|
||||
for j in ${!COMPREPLY[@]}; do
|
||||
for j in "${!COMPREPLY[@]}"; do
|
||||
[[ ${COMPREPLY[j]} == $i ]] && unset 'COMPREPLY[j]'
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue