Use filename completer on run-shell-command (#5729)

pull/5742/head
Jonathan LEI 2 years ago committed by GitHub
parent 482cc22fec
commit 86ae81ec5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2335,7 +2335,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
aliases: &["sh"], aliases: &["sh"],
doc: "Run a shell command", doc: "Run a shell command",
fun: run_shell_command, fun: run_shell_command,
completer: Some(completers::directory), completer: Some(completers::filename),
}, },
]; ];

Loading…
Cancel
Save