Skip to content

Instantly share code, notes, and snippets.

@7rin0
Created March 28, 2017 09:02
Show Gist options
  • Save 7rin0/74555b19270b48caeea994b121b74dde to your computer and use it in GitHub Desktop.
Save 7rin0/74555b19270b48caeea994b121b74dde to your computer and use it in GitHub Desktop.
Convert key/value pairs to Shell Variables
#!/bin/bash
# Converting environment to bash variables
export $(cat .env | xargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment