export et autres problemes

This commit is contained in:
2024-03-22 14:01:16 +01:00
parent 5677edfce1
commit d6d99aefba
4 changed files with 53 additions and 15 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/02 21:59:20 by tomoron #+# #+# */
/* Updated: 2024/03/21 13:55:20 by marde-vr ### ########.fr */
/* Updated: 2024/03/22 13:35:19 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -88,6 +88,7 @@ int main(int argc, char **argv, char **envp)
commands = (char *)1;
init_minishell(&msh, argc, argv, envp);
msh->aliases = alias_add_back(msh->aliases, ft_strdup("ls"), ft_strdup("ls --color=auto"));
while (msh->env && commands)
{
prompt = get_prompt(msh->env);