diff --git a/tools/lammps-shell/lammps-shell.cpp b/tools/lammps-shell/lammps-shell.cpp index 3dd80482d2..d79e580ca2 100644 --- a/tools/lammps-shell/lammps-shell.cpp +++ b/tools/lammps-shell/lammps-shell.cpp @@ -439,7 +439,8 @@ static void init_commands() commands.push_back("clear_history"); // set name so there can be specific entries in ~/.inputrc - rl_readline_name = "lammps-shell"; + rl_readline_name = "lammps-shell"; + rl_basic_word_break_characters = " \t\n\"\\'`@><=;|&("; // attempt completions only if we are connected to a tty, // otherwise any tabs in redirected input will cause havoc.