aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 93758c9fb..bc9cc5ef4 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -58,9 +58,8 @@
58 58
59#if ENABLE_FEATURE_COMMAND_EDITING 59#if ENABLE_FEATURE_COMMAND_EDITING
60 60
61#if ENABLE_FEATURE_COMMAND_USERNAME_COMPLETION || ENABLE_FEATURE_SH_FANCY_PROMPT 61#define ENABLE_FEATURE_GETUSERNAME_AND_HOMEDIR \
62#define ENABLE_FEATURE_GETUSERNAME_AND_HOMEDIR 1 62(ENABLE_FEATURE_COMMAND_USERNAME_COMPLETION || ENABLE_FEATURE_SH_FANCY_PROMPT)
63#endif
64 63
65/* Maximum length of the linked list for the command line history */ 64/* Maximum length of the linked list for the command line history */
66#if !ENABLE_FEATURE_COMMAND_HISTORY 65#if !ENABLE_FEATURE_COMMAND_HISTORY