Skip to content

Instantly share code, notes, and snippets.

@unlight
Last active July 2, 2022 10:46
Show Gist options
  • Save unlight/56be7ffee3bb24d6b77ceedb9584f3b9 to your computer and use it in GitHub Desktop.
Save unlight/56be7ffee3bb24d6b77ceedb9584f3b9 to your computer and use it in GitHub Desktop.
set env variables from .env windows
cat ../../compose/.env | xargs printf -- "set %s\n" | xargs -n2 > ~env.cmd && call ~env.cmd && rm ~env.cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment