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
|
@ -7,34 +7,33 @@ _user_or_group()
|
|||
# complete on groups if -g was given
|
||||
for (( i=1; i < cword; i++ )); do
|
||||
if [[ "${words[i]}" == -@(g|-group) ]]; then
|
||||
COMPREPLY=( $( compgen -g -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -g -- "$cur") )
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
# otherwise complete on users
|
||||
COMPREPLY=( $( compgen -u -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -u -- "$cur") )
|
||||
}
|
||||
|
||||
_quota_parse_help()
|
||||
{
|
||||
local opts=$( _parse_help "$1" )
|
||||
[[ $opts ]] || opts=$( _parse_usage "$1" ) # non-GNU?
|
||||
COMPREPLY=( $( compgen -W "$opts" -- "$cur" ) )
|
||||
local opts=$(_parse_help "$1")
|
||||
COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
}
|
||||
|
||||
_quota_formats()
|
||||
{
|
||||
COMPREPLY=( $( compgen -W 'vfsold vfsv0 rpc xfs' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'vfsold vfsv0 rpc xfs' -- "$cur") )
|
||||
}
|
||||
|
||||
_filesystems()
|
||||
{
|
||||
# Only list filesystems starting with "/", otherwise we also get
|
||||
#+ "binfmt_misc", "proc", "tmpfs", ...
|
||||
COMPREPLY=( $( compgen -W "$(awk '/^\// {print $1}' /etc/mtab)" \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W "$(awk '/^\// {print $1}' /etc/mtab)" \
|
||||
-- "$cur") )
|
||||
}
|
||||
|
||||
_quota()
|
||||
|
@ -171,7 +170,7 @@ _quotaon()
|
|||
return
|
||||
;;
|
||||
-x|--xfs-command)
|
||||
COMPREPLY=( $( compgen -W 'delete enforce' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'delete enforce' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-h|--help|-V|--version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue