summaryrefslogtreecommitdiffstats
path: root/src/command/client/import.rs
diff options
context:
space:
mode:
authorjean-santos <jeanpnsantos@gmail.com>2022-04-26 13:56:06 -0300
committerGitHub <noreply@github.com>2022-04-26 17:56:06 +0100
commit5926ea64bf81e80c9287ec929699c9eb0f7c7d7c (patch)
tree9d21c1a1bf63ea8478af90ec70a791885353d638 /src/command/client/import.rs
parent43d299fde3b06f6dbfc95d99f8fcae46d06ae6a4 (diff)
fix import auto for bash (#352)
Diffstat (limited to 'src/command/client/import.rs')
-rw-r--r--src/command/client/import.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/client/import.rs b/src/command/client/import.rs
index 7e2f5c5cb..a4964c512 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::<Fish<_>, _>(db, BATCH_SIZE).await
+ } else if shell.ends_with("/bash") {
+ println!("Detected Bash");
+ import::<Bash<_>, _>(db, BATCH_SIZE).await
} else {
println!("cannot import {} history", shell);
Ok(())