From 00c983ff964ebcb856da1bb89e11b0259fadf895 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Wed, 27 Feb 2002 10:01:21 +0000 Subject: [PATCH] - _root_command() wasn't passing name of command that had called it to _command() --- bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_completion b/bash_completion index 2e5c9b6f..55bfb7e0 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05a # -# $Id: bash_completion,v 1.159 2002/02/27 10:34:17 ianmacd Exp $ +# $Id: bash_completion,v 1.160 2002/02/27 11:01:21 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -1425,7 +1425,7 @@ complete -F _command -o filenames nohup exec nice eval strace _root_command() { - PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin _command + PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin _command $1 } complete -F _root_command -o filenames sudo