From 39f7aacf3fd285b42b92c2c2d66d95339a3569cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=BCbenbach=2C=20Ralf?= Date: Wed, 14 Apr 2010 11:15:16 +0200 Subject: command.c: Enable auto tab for the editenv command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 diff --git a/common/command.c b/common/command.c index 0c66b7a..67ad692 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) -- cgit v0.10.2