mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01:00
add search terms for is-admin
(#5939)
This commit is contained in:
parent
c6f6dcb57c
commit
3a38fb94f0
@ -19,6 +19,10 @@ impl Command for IsAdmin {
|
||||
Signature::build("is-admin").category(Category::Core)
|
||||
}
|
||||
|
||||
fn search_terms(&self) -> Vec<&str> {
|
||||
vec!["root", "admin", "administrator", "superuser", "supervisor"]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
_engine_state: &EngineState,
|
||||
|
Loading…
Reference in New Issue
Block a user