forked from extern/nushell
Allow wildcard globs to be used in a bare word
This commit is contained in:
parent
3da5fb93e3
commit
8de50ae565
@ -532,6 +532,7 @@ fn is_start_bare_char(c: char) -> bool {
|
|||||||
'_' => true,
|
'_' => true,
|
||||||
'-' => true,
|
'-' => true,
|
||||||
'@' => true,
|
'@' => true,
|
||||||
|
'*' => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -546,6 +547,7 @@ fn is_bare_char(c: char) -> bool {
|
|||||||
'_' => true,
|
'_' => true,
|
||||||
'-' => true,
|
'-' => true,
|
||||||
'@' => true,
|
'@' => true,
|
||||||
|
'*' => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user