diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-01 17:45:06 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-01 17:45:06 +0100 |
commit | ff258032adf915aa694feb9654e0a5e6019b3aba (patch) | |
tree | eb88e61ef0c3729aa4df2d28448f74505c51949f /src/main.c | |
parent | YO PICKED THE WRONG FOOL, HOUSE (diff) | |
download | 42-minishell-ff258032adf915aa694feb9654e0a5e6019b3aba.tar.gz 42-minishell-ff258032adf915aa694feb9654e0a5e6019b3aba.tar.bz2 42-minishell-ff258032adf915aa694feb9654e0a5e6019b3aba.tar.xz 42-minishell-ff258032adf915aa694feb9654e0a5e6019b3aba.tar.zst 42-minishell-ff258032adf915aa694feb9654e0a5e6019b3aba.zip |
Now deals with history
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -43,15 +43,9 @@ int if (c == '\n') break ; arg[i] = c; - if (!ft_strncmp("", arg, 4)) - { - arg = ft_get_last_line(); - break ; - } i++; } arg[i] = '\0'; - ft_history(arg); ft_process_arg(arg); } free(arg); |