2025-03-05 11:10:25 -08:00

6 lines
185 B
Fish

function _repo_list
find "$REPO_BASE_DIR" -type d -name ".git" -printf "%h\n" 2>/dev/null | while read -l dir
echo (string replace -a '.' '_' (basename "$dir"))
end
end