add search terms to alias (#5737)

This commit is contained in:
pwygab 2022-06-08 19:22:53 +08:00 committed by GitHub
parent 837f0463eb
commit 3423cd54a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,10 @@ impl Command for Alias {
true
}
fn search_terms(&self) -> Vec<&str> {
vec!["abbr", "aka", "fn", "func", "function"]
}
fn run(
&self,
_engine_state: &EngineState,