diff --git a/plugins/shell/src/lib.rs b/plugins/shell/src/lib.rs index 015b1a1..4f95264 100644 --- a/plugins/shell/src/lib.rs +++ b/plugins/shell/src/lib.rs @@ -34,7 +34,7 @@ fn info() -> PluginInfo { } fn get_matches(input: RString, config: &mut Config) -> RVec { - let prefix_with_delim = format!("{} ", config.prefix); + let prefix_with_delim = format!("{}", config.prefix); if input.starts_with(&prefix_with_delim) { let (_, command) = input.split_once(&prefix_with_delim).unwrap(); if !command.is_empty() {