6 lines
185 B
Fish
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
|