Timeline for Safely save and restore environment variables
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 27, 2023 at 11:57 | history | edited | shadowtalker | CC BY-SA 4.0 | added 111 characters in body |
| Oct 26, 2023 at 23:46 | history | became hot network question | |||
| Oct 26, 2023 at 19:09 | comment | added | ilkkachu | what does your load_dotenv do / how is it implemented? Can you just test there if the variable already exists before loading a new value from the file? Do you care bout the difference between exported shell variables (which end up in the environment of programs the shell runs) and non-exported ones (which don't)? | |
| Oct 26, 2023 at 18:28 | answer | added | White Owl | timeline score: 7 | |
| Oct 26, 2023 at 16:41 | comment | added | Chris Davies | "I want environment variables explicitly set in the shell to take precedence" - what about modifying your env loader to avoid setting a variable that's already set | |
| Oct 26, 2023 at 16:24 | answer | added | muru | timeline score: 2 | |
| Oct 26, 2023 at 15:53 | answer | added | shadowtalker | timeline score: 3 | |
| Oct 26, 2023 at 15:45 | history | asked | shadowtalker | CC BY-SA 4.0 |