fn format_path_zsh_style(home: &Option<PathBuf>, path: &Path) -> String {
    if let Some(home) = home {
        if let Ok(rel_path) = path.strip_prefix(home) {
            return format!("~/{}", rel_path.display());
        }
    }
    path.display().to_string()
}
Formats a path in zsh style, replacing home directory with ~
crates/forge_main/src/info.rs