diff --git a/bash_completion b/bash_completion index 2e76aae1..ebb571dc 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # # @@ -20,7 +20,7 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# RELEASE: 20020115 +# RELEASE: 20020121 [ -n "$DEBUG" ] && set -v # Set a couple of useful vars @@ -1363,24 +1363,6 @@ _cd() } complete -F _cd -o filenames cd -# A meta-command completion function, for commands like sudo, which often -# need to complete on a command, followed by a file-name -# -_command() -{ - local cur - - COMPREPLY=() - cur=${COMP_WORDS[COMP_CWORD]} - - if [ $COMP_CWORD = 1 ]; then - COMPREPLY=( $( compgen -c $cur ) ) - else - COMPREPLY=( $( compgen -f $cur ) ) - fi -} -complete -F _command -o filenames type nohup exec nice eval strace sudo gdb - # A meta-command completion function for commands like sudo(8), which need to # first complete on a command, then complete according to that command's own # completion definition - currently not quite foolproof, but works well