diff --git a/plugins/shell/src/lib.rs b/plugins/shell/src/lib.rs index 35abf0f..1d2f473 100644 --- a/plugins/shell/src/lib.rs +++ b/plugins/shell/src/lib.rs @@ -41,7 +41,7 @@ fn get_matches(input: RString, config: &Config) -> RVec { let (_, command) = input.split_once(&config.prefix).unwrap(); if !command.is_empty() { vec![Match { - title: command.into(), + title: command.trim().into(), description: ROption::RSome( config .shell