aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index b34f0583f..80145dae5 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4117,6 +4117,9 @@ changepath(const char *newval)
firstchange = 0;
clearcmdentry(firstchange);
builtinloc = idx_bltin;
+#ifdef CONFIG_FEATURE_COMMAND_EDITING
+ cmdedit_path_lookup = newval;
+#endif
}