Windows: look for git repos in the startup directory

This commit is contained in:
Roey Darwish Dror
2021-02-02 22:28:22 +02:00
parent 27a3d37591
commit 66e62cc3eb
4 changed files with 51 additions and 2 deletions

View File

@@ -222,6 +222,9 @@ fn run() -> Result<()> {
.join("Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState"),
);
#[cfg(windows)]
windows::insert_startup_scripts(&ctx, &mut git_repos).ok();
if let Some(profile) = powershell.profile() {
git_repos.insert_if_repo(profile);
}