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

This commit is contained in:
Jonathan LEI 2023-01-30 22:48:27 +08:00 committed by GitHub
parent 482cc22fec
commit 86ae81ec5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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