From 5926ea64bf81e80c9287ec929699c9eb0f7c7d7c Mon Sep 17 00:00:00 2001 From: jean-santos Date: Tue, 26 Apr 2022 13:56:06 -0300 Subject: [PATCH] fix import auto for bash (#352) --- src/command/client/import.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/command/client/import.rs b/src/command/client/import.rs index 7e2f5c5c..a4964c51 100644 --- a/src/command/client/import.rs +++ b/src/command/client/import.rs @@ -50,6 +50,9 @@ impl Cmd { } else if shell.ends_with("/fish") { println!("Detected Fish"); import::, _>(db, BATCH_SIZE).await + } else if shell.ends_with("/bash") { + println!("Detected Bash"); + import::, _>(db, BATCH_SIZE).await } else { println!("cannot import {} history", shell); Ok(())