Open ioannnikulin opened 1 month ago
Let's store PATH separately and all other environment variables separately. Here's sample insertion into PATH (it's not a map or a map entry, it's a double linked list!). Other envvars should be stored in this map, populated in the same param_get_envvars function. Not the mocked one that I linked, but the empty one below in the same file. We still have to figure out which envvars we're supposed to load from the system besides PATH. Looks like we don't need any system envvars besides PATH (please check)... we still should support them from user, so the map stays.
blocked by https://github.com/ioannnikulin/minishell/issues/3