mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 08:13:57 +01:00
feat: nushell auto import
This commit is contained in:
parent
3154566613
commit
72f2f59a11
@ -60,6 +60,9 @@ impl Cmd {
|
||||
if shell.ends_with("/zsh") {
|
||||
println!("Detected ZSH");
|
||||
import::<Zsh<_>, _>(db, BATCH_SIZE).await
|
||||
} else if shell.ends_with("/nu") {
|
||||
println!("Detected Nu");
|
||||
import::<Nu, _>(db, BATCH_SIZE).await
|
||||
} else {
|
||||
println!("cannot import {} history", shell);
|
||||
Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user