From 165f4a3a08c4e9d608995a4b738ee1322c30a6e7 Mon Sep 17 00:00:00 2001 From: Justine Pelletreau Date: Thu, 16 Nov 2023 15:32:42 +0100 Subject: [PATCH] Autocomplete fix attempt --- src/shell/autocomplete.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/autocomplete.rs b/src/shell/autocomplete.rs index 8e177ff..00c3a6c 100644 --- a/src/shell/autocomplete.rs +++ b/src/shell/autocomplete.rs @@ -97,7 +97,7 @@ impl Search { SearchType::CmdSearch => autocomplete_cmd(&self.searchee, &self), SearchType::FileSearch => match autocomplete_file(&self) { Ok(t) => t, - Err(_) => (format!("{}{}", &self.command, &self.searchee), String::new()), + Err(_) => (String::new(), String::new()), } };