change word break characters to make direct variable expansion completion work

This commit is contained in:
Axel Kohlmeyer
2020-10-04 11:25:05 -04:00
parent 9353004e3e
commit f1ed6a9782

View File

@ -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.