1
0
mirror of https://github.com/atuinsh/atuin.git synced 2025-07-11 03:45:11 +02:00

fix import auto for bash ()

This commit is contained in:
jean-santos
2022-04-26 13:56:06 -03:00
committed by GitHub
parent 43d299fde3
commit 5926ea64bf

@ -50,6 +50,9 @@ impl Cmd {
} else if shell.ends_with("/fish") { } else if shell.ends_with("/fish") {
println!("Detected Fish"); println!("Detected Fish");
import::<Fish<_>, _>(db, BATCH_SIZE).await import::<Fish<_>, _>(db, BATCH_SIZE).await
} else if shell.ends_with("/bash") {
println!("Detected Bash");
import::<Bash<_>, _>(db, BATCH_SIZE).await
} else { } else {
println!("cannot import {} history", shell); println!("cannot import {} history", shell);
Ok(()) Ok(())