mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 14:37:59 +02:00
* feat: Add search terms to find, where, exit, which and fetch, update #5093 * Update crates/nu-command/src/filters/where_.rs Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com> * Update crates/nu-command/src/filters/find.rs Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com> * Update crates/nu-command/src/shells/exit.rs Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com> Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
This commit is contained in:
@ -30,6 +30,10 @@ impl Command for Exit {
|
||||
"Exit a Nu shell or exit Nu entirely."
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["quit", "close", "exit_code", "error_code", "logout"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
engine_state: &EngineState,
|
||||
|
Reference in New Issue
Block a user