Skip to content

Instantly share code, notes, and snippets.

Created December 19, 2018 00:05
What would you like to do?
Set environment vars from a file
# Ignores commented out lines and handles spaces
export $(grep -v '^#' .env | xargs -d '\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment