Add filename completer for shell prompt (#7569)
This commit is contained in:
parent
618620b369
commit
507dd50860
1 changed files with 1 additions and 1 deletions
|
@ -5401,7 +5401,7 @@ fn shell_prompt(cx: &mut Context, prompt: Cow<'static, str>, behavior: ShellBeha
|
|||
cx,
|
||||
prompt,
|
||||
Some('|'),
|
||||
ui::completers::none,
|
||||
ui::completers::filename,
|
||||
move |cx, input: &str, event: PromptEvent| {
|
||||
if event != PromptEvent::Validate {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue