mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
16 lines
347 B
Markdown
16 lines
347 B
Markdown
# Export all variables in an envfile
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
set -o allexport
|
|
source envfile
|
|
set +o allexport
|
|
```
|
|
|
|
## Sources
|
|
|
|
- [Set environment variables from file of key/value pairs]
|
|
|
|
[set environment variables from file of key/value pairs]: https://stackoverflow.com/questions/19331497/set-environment-variables-from-file-of-key-value-pairs#30969768
|