#!/bin/bash aggregate-git-folders() { if [[ -z "$1" ]]; then echo '$1 is empty.' exit fi gitaggregate -c "$1" --expand-env }