summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorGlenn L McGrath2004-01-14 09:34:51 +0000
committerGlenn L McGrath2004-01-14 09:34:51 +0000
commit67285965f3d2c266ee37fec17d339b717752f8b0 (patch)
treeb0fcc72c3565c185b87641939ea6128a717f5a39 /shell/ash.c
parent6a78631164a5b3ba279fde20011aaefa1a89e7db (diff)
downloadbusybox-67285965f3d2c266ee37fec17d339b717752f8b0.zip
busybox-67285965f3d2c266ee37fec17d339b717752f8b0.tar.gz
Vodz last_patch_122, Check $PATH at runtime to fix tab completion
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 b34f058..80145da 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
}