chore: cleanup

This commit is contained in:
iff 2024-11-17 15:06:14 +01:00
parent f1f7ed8dbe
commit 171b3d4607
5 changed files with 26 additions and 23 deletions

View file

@ -192,7 +192,6 @@ pub fn initialization(shell: &str, binary_path: &str, auto_alias: &str) {
.expect("Failed to execute process");
let config_path = String::from_utf8_lossy(&output.stdout);
let mut file = std::fs::OpenOptions::new()
.write(true)
.append(true)
.open(config_path.trim())
.expect("Failed to open config file");