mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-25 09:44:03 +01:00
fix import auto for bash (#352)
This commit is contained in:
parent
43d299fde3
commit
5926ea64bf
@ -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(())
|
||||
|
Loading…
Reference in New Issue
Block a user