Add filename completer for shell prompt (#7569)

pull/16/head
Alberto Romero 1 year ago committed by GitHub
parent 618620b369
commit 507dd50860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save