Add chown --from and --reference value completions.

This commit is contained in:
Ville Skyttä 2009-04-14 23:46:38 +03:00
parent 98839013db
commit ea731310a3
2 changed files with 12 additions and 0 deletions

View File

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

View File

@ -797,6 +797,17 @@ _chown()
_split_longopt && split=true
case "$prev" in
--from)
_usergroup
return 0
;;
--reference)
_filedir
return 0
;;
esac
$split && return 0
# options completion