mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Fix an exception when parsing a multi-line command that ends in cd
https://github.com/fish-shell/fish-shell/issues/511
This commit is contained in:
parent
0ab9cf8054
commit
b2abd963f0
1 changed files with 2 additions and 2 deletions
|
@ -771,8 +771,8 @@ static bool autosuggest_parse_command(const wcstring &str, wcstring *out_command
|
|||
case TOK_END:
|
||||
{
|
||||
had_cmd = false;
|
||||
cmd.empty();
|
||||
args.empty();
|
||||
cmd.clear();
|
||||
args.clear();
|
||||
arg_pos = -1;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue