summaryrefslogtreecommitdiffstats
path: root/src/s_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_init.c')
-rw-r--r--src/s_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s_init.c b/src/s_init.c
index b229cda..58f0cca 100644
--- a/src/s_init.c
+++ b/src/s_init.c
@@ -176,6 +176,7 @@ t_msh
msh->pipes = NULL;
msh->vars = NULL;
msh->alias = NULL;
+ msh->prev_hist = NULL;
set_cwd(cwd, msh);
if ((msh->cwd = ft_strdup(cwd)) == NULL)
return (NULL);