fixed merge confclict
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/02 21:59:20 by tomoron #+# #+# */
|
||||
/* Updated: 2024/02/18 17:00:21 by marde-vr ### ########.fr */
|
||||
/* Updated: 2024/02/18 17:04:53 by marde-vr ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -92,11 +92,11 @@ int main(int argc, char **argv, char **envp)
|
||||
free(prompt);
|
||||
add_history(command);
|
||||
parsed_cmd = parse_command(command, env);
|
||||
print_parsed_cmd(parsed_cmd);//debug
|
||||
//print_parsed_cmd(parsed_cmd);//debug
|
||||
parsed_cmd = handle_alias(parsed_cmd, env, aliases);
|
||||
free(command);
|
||||
//print_parsed_cmd(parsed_cmd);//debug
|
||||
exec_command(parsed_cmd, env, aliases);
|
||||
exec_command(parsed_cmd, env, &aliases);
|
||||
free_cmd(parsed_cmd);
|
||||
}
|
||||
rl_clear_history();
|
||||
|
Reference in New Issue
Block a user