From 39f7aacf3fd285b42b92c2c2d66d95339a3569cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tr=C3=BCbenbach=2C=20Ralf?= Date: Wed, 14 Apr 2010 11:15:16 +0200 Subject: [PATCH] command.c: Enable auto tab for the editenv command MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Enable the auto completion (with TAB) of the environment variable name after the editenv command. Signed-off-by: Ralf Trübenbach --- common/command.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/command.c b/common/command.c index 0c66b7a1d9..67ad692004 100644 --- a/common/command.c +++ b/common/command.c @@ -188,6 +188,9 @@ static void install_auto_complete_handler(const char *cmd, void install_auto_complete(void) { +#if defined(CONFIG_CMD_EDITENV) + install_auto_complete_handler("editenv", var_complete); +#endif install_auto_complete_handler("printenv", var_complete); install_auto_complete_handler("setenv", var_complete); #if defined(CONFIG_CMD_RUN) -- 2.39.2