mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-19 21:03: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
|
@ -6,20 +6,20 @@ _luseradd()
|
|||
_init_completion -s || return
|
||||
|
||||
case $prev in
|
||||
-\?|--help|--usage|-c|--gecos|-u|--uid|-l|--login|-P|--plainpassword|\
|
||||
-p|--password|--commonname|--givenname|--surname|--roomnumber|\
|
||||
--telephonenumber|--homephone)
|
||||
--help|--usage|--gecos|--uid|--login|--plainpassword|--password|\
|
||||
--commonname|--givenname|--surname|--roomnumber|--telephonenumber|\
|
||||
--homephone|-!(-*)@([culPp]|[?]*))
|
||||
return
|
||||
;;
|
||||
-d|--directory|-k|--skeleton)
|
||||
--directory|--skeleton|-!(-*)[dk])
|
||||
_filedir -d
|
||||
return
|
||||
;;
|
||||
-s|--shell)
|
||||
--shell|-!(-*)s)
|
||||
_shells
|
||||
return
|
||||
;;
|
||||
-g|--gid)
|
||||
--gid|-!(-*)g)
|
||||
_gids
|
||||
return
|
||||
;;
|
||||
|
@ -28,12 +28,12 @@ _luseradd()
|
|||
$split && return
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
||||
return
|
||||
fi
|
||||
|
||||
[[ ${1##*/} == luseradd ]] || COMPREPLY=( $( compgen -u -- "$cur" ) )
|
||||
[[ ${1##*/} == luseradd ]] || COMPREPLY=( $(compgen -u -- "$cur") )
|
||||
} &&
|
||||
complete -F _luseradd luseradd lusermod
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue