diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 19:49:35 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 19:49:35 +0200 |
commit | 990143a3f21f5500abc329c7df4ef30d20cb71eb (patch) | |
tree | 4039744d012594f1923508bcb8f8c57c270e4172 /src/m_argv.c | |
parent | In progress (diff) | |
download | 42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.gz 42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.bz2 42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.xz 42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.tar.zst 42-minishell-990143a3f21f5500abc329c7df4ef30d20cb71eb.zip |
.minishellrc working
Diffstat (limited to 'src/m_argv.c')
-rw-r--r-- | src/m_argv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/m_argv.c b/src/m_argv.c index 0c32e3b..25b386e 100644 --- a/src/m_argv.c +++ b/src/m_argv.c @@ -19,6 +19,7 @@ #include "d_define.h" #include "m_comm.h" #include "m_loop.h" +#include "m_mshrc.h" #include "s_struct.h" uint8_t @@ -30,6 +31,7 @@ uint8_t if (argc == 1) { + msh->ret = m_source_mshrc(msh); msh->ret = m_loop(STDIN_FILENO, msh); } else if (argc > 1 && ft_strncmp(*(argv + 1), FT_OPT_COMMAND, 3) == 0) |