mirror of
https://github.com/atuinsh/atuin.git
synced 2024-12-26 00:50:22 +01:00
parent
a127408e93
commit
f55d5cf0bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user