From be2e112cbf96b8ecdffbcaeeafc4a186039ec90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 19 May 2009 22:54:48 +0300 Subject: [PATCH] Remove stuff superseded by contrib/shadow. --- bash_completion | 5 +---- contrib/shadow | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/bash_completion b/bash_completion index 53aef042..f75934d7 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 746554f8..84164f67 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() {