aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 80145dae5..d488a543f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4117,7 +4117,7 @@ changepath(const char *newval)
firstchange = 0;
clearcmdentry(firstchange);
builtinloc = idx_bltin;
-#ifdef CONFIG_FEATURE_COMMAND_EDITING
+#ifdef CONFIG_FEATURE_COMMAND_TAB_COMPLETION
cmdedit_path_lookup = newval;
#endif
}