1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-21 18:12:23 +03:00

Remove trailing sZs if exists

This commit is contained in:
joncrangle 2024-07-31 14:05:27 -04:00 committed by Wez Furlong
parent 822a7dddbc
commit ab9b9d9423

View File

@ -35,6 +35,9 @@ fn compute_repo_dir(url: &str) -> String {
c => dir.push_str(&format!("u{}", c as u32)),
}
}
if dir.ends_with("sZs") {
dir.truncate(dir.len() - 3);
}
dir
}