summaryrefslogtreecommitdiffstats
path: root/src/utils/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/command.rs')
-rw-r--r--src/utils/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/command.rs b/src/utils/command.rs
index 14a40a4..7d98504 100644
--- a/src/utils/command.rs
+++ b/src/utils/command.rs
@@ -175,7 +175,7 @@ pub fn append_to_shell_history(shell: &str, command: &str, exit_code: i32) -> io
.create(true)
.append(true)
.open(&history_file)?;
- writeln!(file, "{}", history_txt)?;
+ writeln!(file, "{history_txt}")?;
}
Ok(())
}