mirror of
https://github.com/nushell/nushell
synced 2025-01-14 06:04:09 +00:00
Allow wildcard globs to be used in a bare word
This commit is contained in:
parent
3da5fb93e3
commit
8de50ae565
1 changed files with 2 additions and 0 deletions
|
@ -532,6 +532,7 @@ fn is_start_bare_char(c: char) -> bool {
|
|||
'_' => true,
|
||||
'-' => true,
|
||||
'@' => true,
|
||||
'*' => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
@ -546,6 +547,7 @@ fn is_bare_char(c: char) -> bool {
|
|||
'_' => true,
|
||||
'-' => true,
|
||||
'@' => true,
|
||||
'*' => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue