#! /bin/bash file=${1:-./.env} if [ -f "$file" ]; then while read line; do export "$line"; done < "$file" fi