summaryrefslogtreecommitdiffstats
path: root/src/d_define.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/d_define.h (renamed from src/ft_d_define.h)24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ft_d_define.h b/src/d_define.h
index 4152e0d..899a2e7 100644
--- a/src/ft_d_define.h
+++ b/src/d_define.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_d_define.h :+: :+: :+: */
+/* d_define.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,26 +10,25 @@
/* */
/* ************************************************************************** */
-#ifndef FT_D_DEFINE_H
-#define FT_D_DEFINE_H
+#ifndef D_DEFINE_H
+#define D_DEFINE_H
-#include "ft_d_enum.h"
+#include "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"
+#define FT_PS_ONE "minishell ~> "
+#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit|type"
+#define FT_HISTFILE "minishell_history"
/*
** ====== OPTIONS ======
*/
-#define FT_OPT_INTERACT "-i"
-#define FT_OPT_COMMAND "-c"
+#define FT_OPT_INTERACT "-i"
+#define FT_OPT_COMMAND "-c"
/*
** ====== VARS ======
@@ -43,7 +42,8 @@
** ====== FAIL MSG ======
*/
-#define FT_FAIL_NO_OPTIONS "no options required"
-#define FT_FAIL_TOO_MANY_ARGS "too many arguments"
+#define FT_FAIL_COMMAND_NOT_FOUND "command not found"
+#define FT_FAIL_NO_OPTIONS "no options required"
+#define FT_FAIL_TOO_MANY_ARGS "too many arguments"
#endif