[Bash-completion-commits] [SCM] bash-completion branch, master, updated. be2e112cbf96b8ecdffbcaeeafc4a186039ec90d
Ville Skyttä
ville.skytta at iki.fi
Tue May 19 19:54:53 UTC 2009
The following commit has been merged in the master branch:
commit be2e112cbf96b8ecdffbcaeeafc4a186039ec90d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue May 19 22:54:48 2009 +0300
Remove stuff superseded by contrib/shadow.
diff --git a/bash_completion b/bash_completion
index 53aef04..f75934d 100644
--- a/bash_completion
+++ b/bash_completion
@@ -144,10 +144,7 @@ complete -f -X '!*.aux' bibtex
# start of section containing compspecs that can be handled within bash
# user commands see only users
-complete -u su usermod userdel passwd chage write chfn groups slay w sux
-
-# group commands see only groups
-[ -n "$bash205" ] && complete -g groupmod groupdel newgrp 2>/dev/null
+complete -u su passwd write chfn groups slay w sux
# bg completes with stopped jobs
complete -A stopped -P '"%' -S '"' bg
diff --git a/contrib/shadow b/contrib/shadow
index 746554f..84164f6 100644
--- a/contrib/shadow
+++ b/contrib/shadow
@@ -3,9 +3,6 @@
#
# bash completion for shadow utils
-# Note: the following should be removed from main bash_completion once this
-# is reviewed: chage, groupdel, groupmod, newgrp, userdel, usermod
-
have useradd &&
_useradd()
{
--
bash-completion
More information about the Bash-completion-commits
mailing list