mirror of
https://github.com/danbulant/nushell
synced 2026-05-24 12:35:59 +00:00
question mark character can also be in glob patterns.
This commit is contained in:
parent
b15bb2c667
commit
540e93aa3a
2 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ impl WholeStreamCommand for LS {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn signature(&self) -> Signature {
|
fn signature(&self) -> Signature {
|
||||||
Signature::build("ls").optional("path", SyntaxType::Path)
|
Signature::build("ls").optional("path", SyntaxType::Pattern)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn usage(&self) -> &str {
|
fn usage(&self) -> &str {
|
||||||
|
|
|
||||||
|
|
@ -713,6 +713,7 @@ fn is_bare_char(c: char) -> bool {
|
||||||
'=' => true,
|
'=' => true,
|
||||||
'~' => true,
|
'~' => true,
|
||||||
':' => true,
|
':' => true,
|
||||||
|
'?' => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue