Skip to content

Instantly share code, notes, and snippets.

View jch254's full-sized avatar
🇳🇿
TRAPPIN'

Jordan Hornblow jch254

🇳🇿
TRAPPIN'
View GitHub Profile
echo "Exporting environment variables from env.variables section of $1"
export $(
cat "$1" |
shyaml get-values-0 env.variables |
while IFS='' read -r -d '' key && IFS='' read -r -d '' value; do
echo $key=$value
done
)