diff --git a/src/main.rs b/src/main.rs index cdcaf70..e95c52a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,6 +65,7 @@ fn list_repos(directory: PathBuf) -> Result<(), std::io::Error> { let repo_paths = gather_repos(&start, 0)?; for path in &repo_paths { + let path = path.strip_prefix(&start).unwrap(); println!("Repository: {}", path.display().to_string().yellow()); /* let indent = recurse_level * INDENT_INCREMENT;