shell_script()

+ reset "rl_event_hook" to NULL after here_doc()
+ split init.c in multiple files
+ submodule minishell_tests
This commit is contained in:
LuckyLaszlo
2021-12-18 05:42:08 +01:00
parent fa71189132
commit afbb1cd2e0
11 changed files with 226 additions and 82 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/12/16 06:35:04 by lperrey ### ########.fr */
/* Updated: 2021/12/17 21:16:53 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,7 +17,7 @@ int g_switch_heredoc_sigint;
extern char **environ;
// Init
int init(t_all *c);
int init(t_all *c, char *argv[]);
char *init_prompt(char *prompt_base);
char **retrieve_path(void);
void set_signals_behaviour(void);