Add filename completer for shell prompt (#7569)
commit507dd5086093f48e666c99fb509b31721f366df2
authorAlberto Romero <aromeronavia@gmail.com>
dateSat 8 Jul 2023, 10:12 (3 years ago)
parent618620b
helix-term/src/commands.rs+1−1
@@ -5401,7 +5401,7 @@ fn shell_prompt(cx: &mut Context, prompt: Cow<'static, str>, behavior: ShellBeha
54015401 cx,
54025402 prompt,
54035403 Some('|'),
5404− ui::completers::none,
5404+ ui::completers::filename,
54055405 move |cx, input: &str, event: PromptEvent| {
54065406 if event != PromptEvent::Validate {
54075407 return;