summaryrefslogtreecommitdiffstats
path: root/src/ft_m_funptr.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 16:29:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 16:29:20 +0200
commit58f7f3e9d2a61d46e57ffe324ae6ae7f21e875a3 (patch)
treed43399d8ac6ce24496b86918496d57c37d628698 /src/ft_m_funptr.c
parentVery good redirs (diff)
download42-minishell-58f7f3e9d2a61d46e57ffe324ae6ae7f21e875a3.tar.gz
42-minishell-58f7f3e9d2a61d46e57ffe324ae6ae7f21e875a3.tar.bz2
42-minishell-58f7f3e9d2a61d46e57ffe324ae6ae7f21e875a3.tar.xz
42-minishell-58f7f3e9d2a61d46e57ffe324ae6ae7f21e875a3.tar.zst
42-minishell-58f7f3e9d2a61d46e57ffe324ae6ae7f21e875a3.zip
Prepared builtins templates
Diffstat (limited to 'src/ft_m_funptr.c')
-rw-r--r--src/ft_m_funptr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_m_funptr.c b/src/ft_m_funptr.c
index 22b390f..0682a20 100644
--- a/src/ft_m_funptr.c
+++ b/src/ft_m_funptr.c
@@ -22,10 +22,10 @@ void
ft_init_buptr(t_msh *msh)
{
msh->bu_ptr[0] = ft_b_echo;
- /* msh->bu_ptr[1] = ft_b_cd; */
- /* msh->bu_ptr[2] = ft_b_pwd; */
+ msh->bu_ptr[1] = ft_b_cd;
+ msh->bu_ptr[2] = ft_b_pwd;
msh->bu_ptr[3] = ft_b_export;
- /* msh->bu_ptr[4] = ft_b_unset; */
+ msh->bu_ptr[4] = ft_b_unset;
msh->bu_ptr[5] = ft_b_env;
msh->bu_ptr[6] = ft_b_exit;
/* TODO: them builtins */