diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-25 16:40:34 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-25 16:40:34 +0200 |
commit | e42601eb5acc07417b217dfed4e9ab8cbb91794f (patch) | |
tree | 76e7dacd2e8d93012fecf2c29fcb4d14e6d1baed /src/ft_d_define.h | |
parent | (fd)>qwe fd agregation redir works (diff) | |
download | 42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.gz 42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.bz2 42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.xz 42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.zst 42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.zip |
Stupid bash rule
Diffstat (limited to 'src/ft_d_define.h')
-rw-r--r-- | src/ft_d_define.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ft_d_define.h b/src/ft_d_define.h index 3a10c58..acb1a29 100644 --- a/src/ft_d_define.h +++ b/src/ft_d_define.h @@ -19,16 +19,23 @@ ** ====== CLASSICS ====== */ +#define FT_DEFAULT_SHNAME "minishell" #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" /* +** ====== OPTIONS ====== +*/ + +#define FT_INTERACT "-i" +#define FT_COMMAND "-c" + +/* ** ====== 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" |