Skip to content

Commit 636bb7c

Browse files
akinomyogascop
authored andcommitted
fix(bash_completion): remove some unnecessary -a to _comp_compgen
1 parent 55c5c45 commit 636bb7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bash_completion

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ _comp_variable_assignments()
12291229
case $prev in
12301230
TZ)
12311231
cur=/usr/share/zoneinfo/$cur
1232-
_comp_compgen -a filedir
1232+
_comp_compgen_filedir
12331233
if ((${#COMPREPLY[@]})); then
12341234
for i in "${!COMPREPLY[@]}"; do
12351235
if [[ ${COMPREPLY[i]} == *.tab ]]; then
@@ -2050,7 +2050,7 @@ _comp_compgen_allowed_groups()
20502050
# @since 2.12
20512051
_comp_selinux_users()
20522052
{
2053-
_comp_compgen -a split -- "$(semanage user -nl 2>/dev/null |
2053+
_comp_compgen_split -- "$(semanage user -nl 2>/dev/null |
20542054
awk '{ print $1 }')"
20552055
}
20562056

0 commit comments

Comments
 (0)