Skip to content

Commit a5180a7

Browse files
committed
refactor: rename _comp_compgen_usergroup{ => s}
1 parent beb99cb commit a5180a7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ _comp_compgen_inserted_kernel_modules()
19991999
# context of current completion.
20002000
#
20012001
# @since 2.12
2002-
_comp_compgen_usergroup()
2002+
_comp_compgen_usergroups()
20032003
{
20042004
if [[ $cur == *\\\\* || $cur == *:*:* ]]; then
20052005
# Give up early on if something seems horribly wrong.

bash_completion.d/000_bash_completion_compat.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ _comp_deprecate_func 2.12 _pgids _comp_compgen_pgids
2727
_comp_deprecate_func 2.12 _pnames _comp_compgen_pnames
2828
_comp_deprecate_func 2.12 _modules _comp_compgen_kernel_modules
2929
_comp_deprecate_func 2.12 _installed_modules _comp_compgen_inserted_kernel_modules
30-
_comp_deprecate_func 2.12 _usergroup _comp_compgen_usergroup
30+
_comp_deprecate_func 2.12 _usergroup _comp_compgen_usergroups
3131
_comp_deprecate_func 2.12 _complete_as_root _comp_as_root
3232

3333
# Backwards compatibility for compat completions that use have().

completions/chown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ _comp_cmd_chown()
88

99
case "$prev" in
1010
--from)
11-
_comp_compgen_usergroup
11+
_comp_compgen_usergroups
1212
return
1313
;;
1414
--reference)
@@ -35,7 +35,7 @@ _comp_cmd_chown()
3535
_count_args :
3636

3737
if ((args == 1)); then
38-
_comp_compgen_usergroup -u
38+
_comp_compgen_usergroups -u
3939
else
4040
_comp_compgen_filedir
4141
fi

completions/cpio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _comp_cmd_cpio()
1818
return
1919
;;
2020
--owner | -${noargopts}R)
21-
_comp_compgen_usergroup
21+
_comp_compgen_usergroups
2222
return
2323
;;
2424
--rsh-command)

0 commit comments

Comments
 (0)