blob: 3a10c58ebbdfc1617bbf328b22ca1c9e74dad53d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_d_define.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */
/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */
/* */
/* ************************************************************************** */
#ifndef FT_D_DEFINE_H
#define FT_D_DEFINE_H
#include "ft_d_enum.h"
/*
** ====== CLASSICS ======
*/
#define FT_PS_ONE "minishell ~> "
#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit|type"
#define FT_BUILTINS_COUNT 8
#define FT_HISTFILE "minishell_history"
/*
** ====== FAIL MSG ======
*/
#define FT_FAIL_ALLOC "failed to allocate memory"
#define FT_FAIL_NO_OPTIONS "no options required"
#define FT_FAIL_TOO_MANY_ARGS "too many arguments"
#endif
|