aliases done

This commit is contained in:
mdev9
2024-02-18 17:02:38 +01:00
parent cec4e7a3a3
commit e126456b49
4 changed files with 40 additions and 10 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/02/18 13:50:32 by tomoron ### ########.fr */
/* Updated: 2024/02/18 17:00:21 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -95,7 +95,7 @@ int main(int argc, char **argv, char **envp)
print_parsed_cmd(parsed_cmd);//debug
parsed_cmd = handle_alias(parsed_cmd, env, aliases);
free(command);
print_parsed_cmd(parsed_cmd);//debug
//print_parsed_cmd(parsed_cmd);//debug
exec_command(parsed_cmd, env, aliases);
free_cmd(parsed_cmd);
}