mirror of
https://github.com/atuinsh/atuin.git
synced 2025-08-09 07:15:12 +02:00
@ -109,6 +109,11 @@ impl Cmd {
|
||||
match self {
|
||||
Self::Start { command: words } => {
|
||||
let command = words.join(" ");
|
||||
|
||||
if command.starts_with(' ') {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let cwd = env::current_dir()?.display().to_string();
|
||||
|
||||
let h = History::new(chrono::Utc::now(), command, cwd, -1, -1, None, None);
|
||||
|
Reference in New Issue
Block a user