pwd/exit
This commit is contained in:
@@ -3,8 +3,15 @@
|
||||
|
||||
# include "../lib/libft/libft.h"
|
||||
# include <stdio.h>
|
||||
# include <sys/types.h>
|
||||
# include <signal.h>
|
||||
# include <stdbool.h>
|
||||
# include <unistd.h>
|
||||
# include <errno.h>
|
||||
|
||||
// void echo(char *msg, int flag);
|
||||
void builtin_exit(char *arg, bool depth);
|
||||
void builtin_pwd(char *arg);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# include <unistd.h>
|
||||
# include <stdlib.h>
|
||||
|
||||
# include "lib/libft/libft.h"
|
||||
# include "../lib/libft/libft.h"
|
||||
# include "builtins.h"
|
||||
|
||||
# define POW1 "\033[1;38;2;21;22;26;48;2;92;106;178m"
|
||||
|
||||
Reference in New Issue
Block a user