aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Romero2023-07-08 16:12:28 +0000
committerGitHub2023-07-08 16:12:28 +0000
commit507dd5086093f48e666c99fb509b31721f366df2 (patch)
tree07a0e0fb035b90ad6d42f7e38498d0f4ea947669
parent618620b36907bb2cbe29cd0e737efad9f651a00d (diff)
Add filename completer for shell prompt (#7569)
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 1bd73652..10b336ce 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;