Commands which failed expansions are to be stored to history, too.

This commit is contained in:
Martin Mares 2000-03-12 22:55:09 +00:00
parent f098e072be
commit 971b2310ae

View file

@ -103,6 +103,8 @@ got_line(char *cmd_buffer)
input_hidden = 0; input_hidden = 0;
free(cmd); free(cmd);
} }
else
add_history(cmd_buffer);
} }
free(cmd_buffer); free(cmd_buffer);
} }