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,27 +9,27 @@ _useradd()
|
|||
# with -u/--uid
|
||||
|
||||
case $prev in
|
||||
-c|--comment|-h|--help|-e|--expiredate|-f|--inactive|-K|--key|\
|
||||
-p|--password|-u|--uid|-Z|--selinux-user)
|
||||
--comment|--help|--expiredate|--inactive|--key|--password|--uid|\
|
||||
--selinux-user|-!(-*)[chefKpuZ])
|
||||
return
|
||||
;;
|
||||
-b|--base-dir|-d|--home-dir|-k|--skel|-R|--root)
|
||||
--base-dir|--home-dir|--skel|--root|-!(-*)[bdkR])
|
||||
_filedir -d
|
||||
return
|
||||
;;
|
||||
-g|--gid)
|
||||
--gid|-!(-*)g)
|
||||
_gids
|
||||
COMPREPLY=( $( compgen -W '${COMPREPLY[@]} $( compgen -g )' \
|
||||
-- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '${COMPREPLY[@]} $(compgen -g)' \
|
||||
-- "$cur") )
|
||||
return
|
||||
;;
|
||||
-G|--groups)
|
||||
--groups|-!(-*)G)
|
||||
local prefix=; [[ $cur == *,* ]] && prefix="${cur%,*},"
|
||||
COMPREPLY=( $( compgen -g -- "${cur##*,}" ) )
|
||||
COMPREPLY=( $(compgen -g -- "${cur##*,}") )
|
||||
[[ ${#COMPREPLY[@]} -eq 1 ]] && COMPREPLY=( ${COMPREPLY/#/$prefix} )
|
||||
return
|
||||
;;
|
||||
-s|--shell)
|
||||
--shell|-!(-*)s)
|
||||
_shells
|
||||
return
|
||||
;;
|
||||
|
@ -38,7 +38,7 @@ _useradd()
|
|||
$split && return
|
||||
|
||||
[[ "$cur" == -* ]] && \
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
} &&
|
||||
complete -F _useradd useradd
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue