From 507dd5086093f48e666c99fb509b31721f366df2 Mon Sep 17 00:00:00 2001 From: Alberto Romero Date: Sat, 8 Jul 2023 10:12:28 -0600 Subject: [PATCH] Add filename completer for shell prompt (#7569) --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 1bd736523..10b336ce3 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -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;