diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-12 14:51:23 +0200 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-12 14:51:23 +0200 | 
| commit | 8b15c7b0f233238a53088d8c095bd5af7f7592e7 (patch) | |
| tree | b74088caab21732f01268f4c12e4c7bd2a7096b9 /src/s_com.c | |
| parent | In progress (diff) | |
| download | 42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.gz 42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.bz2 42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.xz 42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.zst 42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.zip  | |
how tf will I norm this
Diffstat (limited to 'src/s_com.c')
| -rw-r--r-- | src/s_com.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c index 4d78573..b85905e 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -116,7 +116,8 @@ t_com  	ft_strlcpy(nword, word, ARG_MAX);  	if (p_get_redir(nword, &com) != 0)  		return (NULL); -	p_subst_alias(nword, msh); +	/* if (msh->alias != NULL) */ +		p_subst_alias(nword, msh);  	p_subst_vars(nword, msh);  	if ((words = p_split_args(nword, com->redir)) == NULL)  		return (NULL);  | 
