You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$rootPath = "C:\" # You can change this to D:\ or another drive
# Recursively search all accessible directories under C:\ and ignore errors
$gitFolders = Get-ChildItem -Path $rootPath -Directory -Recurse -ErrorAction SilentlyContinue |
Where-Object { Test-Path "$($_.FullName)\.git" }
# Add these directories to zoxide
foreach ($folder in $gitFolders) {
zoxide add $folder.FullName
Write-Host "Added: $($folder.FullName)"
}
Write-Host "✅ All Git project directories have been added to zoxide!"
this script can write all git repo in database,
can add this as build in feature?
The text was updated successfully, but these errors were encountered:
this is powershell script
this script can write all git repo in database,
can add this as build in feature?
The text was updated successfully, but these errors were encountered: