diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-16 19:56:38 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-16 19:56:38 +0200 |
commit | e32a79f56d5121bbdcde45f3c2b4f1089fa328e1 (patch) | |
tree | 1a29db13a9e28a424a08e1751625ceb9d55b380c /src/s_init.c | |
parent | In progress (diff) | |
download | 42-minishell-e32a79f56d5121bbdcde45f3c2b4f1089fa328e1.tar.gz 42-minishell-e32a79f56d5121bbdcde45f3c2b4f1089fa328e1.tar.bz2 42-minishell-e32a79f56d5121bbdcde45f3c2b4f1089fa328e1.tar.xz 42-minishell-e32a79f56d5121bbdcde45f3c2b4f1089fa328e1.tar.zst 42-minishell-e32a79f56d5121bbdcde45f3c2b4f1089fa328e1.zip |
Still in progress
Diffstat (limited to 'src/s_init.c')
-rw-r--r-- | src/s_init.c | 1 |
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); |