lineedit: fix tab completion with equal sign
Fix tab completion for the path when equal sign (=) is used. For example: dd if=/dev/ze<tab> Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f4a9908b4c
commit
7323bca1b0
@ -1071,7 +1071,7 @@ static NOINLINE int build_match_prefix(char *match_buf)
|
||||
continue;
|
||||
for (--i; i >= 0; i--) {
|
||||
int cur = int_buf[i];
|
||||
if (cur == ' ' || cur == '<' || cur == '>' || cur == '|' || cur == '&') {
|
||||
if (cur == ' ' || cur == '<' || cur == '>' || cur == '|' || cur == '&' || cur == '=') {
|
||||
remove_chunk(int_buf, 0, i + 1);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user