summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/ft_m_loop.c2
-rw-r--r--src/ft_p_lcom.c1
-rw-r--r--src/ft_s_lcom.c1
4 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1959300..46c4f57 100644
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@ clean:
#------------------------------------------------------------------------------#
fclean: clean
@$(MAKE) --no-print-directory -C ${LFT_DIR} fclean
- ${RM} ${NAME} ${NAME}.core ${NAME}.dSYM/ ${HISTFILE} qwe
+ ${RM} ${NAME} ${NAME}.core ${NAME}.dSYM/ qwe minishell_history
#------------------------------------------------------------------------------#
re: fclean all
#------------------------------------------------------------------------------#
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c
index 5c4ec05..d902d93 100644
--- a/src/ft_m_loop.c
+++ b/src/ft_m_loop.c
@@ -38,10 +38,10 @@ uint8_t
ft_memdel((void*)&line);
ft_e_lcom(msh);
ft_lcom_clear(&msh->curr);
- /* TODO: handle segv on spaces only "msh ~> " */
/* TODO: GNL 25 leak on "msh ~> exit" */
/* TODO: "msh ~> some command \": re GNL into ft_nrealloc */
/* TODO: the chad pipes | */
+ /* TODO: a histfile would be nice */
}
else
{
diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c
index ee2ec89..c7bee3c 100644
--- a/src/ft_p_lcom.c
+++ b/src/ft_p_lcom.c
@@ -105,6 +105,7 @@ int8_t
ptr++;
/* TODO: handle correctly multiples "msh ~> echo qwe > qwe > asd >> zxc > qweasdzxc" */
/* hint: bash only handles the last onke */
+ /* TODO: handle "msh ~> cat < Makefile >qwe" */
}
if ((*link)->redir > 0)
{
diff --git a/src/ft_s_lcom.c b/src/ft_s_lcom.c
index d05d84c..2bf4622 100644
--- a/src/ft_s_lcom.c
+++ b/src/ft_s_lcom.c
@@ -33,7 +33,6 @@ static int8_t
ft_strlcpy((*lcom)->com, words[0], ft_strlen(words[0]) + 1);
while(words[i])
{
- /* TODO: better <> cut ex: "msh ~> echo qwe>qwe" | gl hf */
if (ft_ischarset("<>0123456789", words[i][0]))
break ;
i++;