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