diff options
| author | jean-santos <jeanpnsantos@gmail.com> | 2022-04-26 13:56:06 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-26 17:56:06 +0100 |
| commit | 5926ea64bf81e80c9287ec929699c9eb0f7c7d7c (patch) | |
| tree | 9d21c1a1bf63ea8478af90ec70a791885353d638 /src/command/client/import.rs | |
| parent | bump tui (#346) (diff) | |
| download | atuin-5926ea64bf81e80c9287ec929699c9eb0f7c7d7c.zip | |
fix import auto for bash (#352)
Diffstat (limited to 'src/command/client/import.rs')
| -rw-r--r-- | src/command/client/import.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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::<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(()) |
