mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
Merge pull request #238 from jonathandturner/parse_glob
Allow wildcard globs to be used in a bare word
This commit is contained in:
commit
8929329102
@ -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