summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vtysh/vtysh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 177f2a5b2..6a14aab63 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2994,6 +2994,7 @@ void
vtysh_readline_init (void)
{
/* readline related settings. */
+ rl_initialize ();
rl_bind_key ('?', (rl_command_func_t *) vtysh_rl_describe);
rl_completion_entry_function = vtysh_completion_entry_function;
rl_attempted_completion_function = (rl_completion_func_t *)new_completion;