Skip to content

Instantly share code, notes, and snippets.

@fentas
Created February 9, 2019 12:40
Show Gist options
  • Save fentas/d74a8ef539ad8efd4f2ad20fc6dae3d9 to your computer and use it in GitHub Desktop.
Save fentas/d74a8ef539ad8efd4f2ad20fc6dae3d9 to your computer and use it in GitHub Desktop.
simple dot env file loading in bash
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