Add chgrp --reference value completion.

This commit is contained in:
Ville Skyttä 2009-04-14 23:48:11 +03:00
parent ea731310a3
commit ed93d0b2b7
2 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,7 @@ bash-completion (1.x)
take arguments in both "--foo bar" and "--foo=bar" formats. take arguments in both "--foo bar" and "--foo=bar" formats.
* Use _split_longopt to improve and clean up aspell, chgrp, chown completion. * Use _split_longopt to improve and clean up aspell, chgrp, chown completion.
* Add chown --from and --reference value completions. * Add chown --from and --reference value completions.
* Add chgrp --reference value completion.
[ Todd Zullinger ] [ Todd Zullinger ]
* Make yum complete on filenames after install, deplist, update and upgrade * Make yum complete on filenames after install, deplist, update and upgrade

View File

@ -843,6 +843,11 @@ _chgrp()
_split_longopt && split=true _split_longopt && split=true
if [[ "$prev" == --reference ]]; then
_filedir
return 0
fi
$split && return 0 $split && return 0
# options completion # options completion