diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-11 18:07:48 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-11 18:07:48 +0200 |
commit | 32fb33b2dea95c00dc37efd14d34c799b23d09cf (patch) | |
tree | 0c4ad12af2a00f029aadf2ee50767e621be8ae03 /src/e_builtins.c | |
parent | alias utils prepared (diff) | |
download | 42-minishell-32fb33b2dea95c00dc37efd14d34c799b23d09cf.tar.gz 42-minishell-32fb33b2dea95c00dc37efd14d34c799b23d09cf.tar.bz2 42-minishell-32fb33b2dea95c00dc37efd14d34c799b23d09cf.tar.xz 42-minishell-32fb33b2dea95c00dc37efd14d34c799b23d09cf.tar.zst 42-minishell-32fb33b2dea95c00dc37efd14d34c799b23d09cf.zip |
In progress
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r-- | src/e_builtins.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c index f4b363b..fb7b0ba 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -16,6 +16,7 @@ #include <stdint.h> #include <unistd.h> +#include "b_builtins.h" #include "b_export_next.h" #include "b_export_mute.h" #include "m_loop.h" @@ -76,6 +77,8 @@ static void b_export_mute(ptr->argv + 1, msh); else if (bu_id == FT_ID_UNSET) msh->bu_ptr[bu_id](ptr->argv + 1, msh); + else if (bu_id == FT_ID_ALIAS) + b_alias_mute(ptr->argv + 1, msh); else if (bu_id == FT_ID_EXIT) { if (msh->fd == STDIN_FILENO) |