summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh.c b/sh.c
index 97db8af..b96b464 100644
--- a/sh.c
+++ b/sh.c
@@ -947,6 +947,7 @@ int shell_main(int argc, char **argv)
getcwd(cwd, sizeof(cwd));
#ifdef BB_FEATURE_SH_COMMAND_EDITING
+ cmdedit_init();
signal(SIGWINCH, win_changed);
win_changed(0);
#endif