diff --git a/.direnv/bin/nix-direnv-reload b/.direnv/bin/nix-direnv-reload new file mode 100755 index 0000000..186ac96 --- /dev/null +++ b/.direnv/bin/nix-direnv-reload @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +dir="$(realpath $(dirname ${BASH_SOURCE[0]})/../..)" +_nix_direnv_force_reload=1 direnv exec "$dir" true +direnv reload +# direnv reload updates the mtime of .envrc. Also update the timestamp of the +# profile_rc file to keep track that we actually are up to date. +touch $dir/.direnv/{nix,flake}-profile-*.rc + diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa new file mode 120000 index 0000000..b4ac49c --- /dev/null +++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa @@ -0,0 +1 @@ +/home/adjoly/42/ft_minipowershell/.direnv/flake-profile.46798 \ No newline at end of file diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc @@ -0,0 +1 @@ + diff --git a/Makefile b/Makefile index a314616..85592be 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ NAME = minishell -CC = cc +CC = clang OBJSDIR = obj/ diff --git a/include/minishell.h b/include/minishell.h index 367e3b1..92c976b 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -14,8 +14,8 @@ #ifndef MINISHELL_H # define MINISHELL_H -# include # include +# include # include # include # include "libft.h" diff --git a/libft/Makefile b/libft/Makefile index 9ff87e7..7ed8926 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -6,15 +6,15 @@ # By: mmoussou +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/04/24 11:18:04 by adjoly #+# #+# */ -/* Updated: 2024/05/09 18:05:14 by adjoly ### ########.fr */ +/* Updated: 2024/05/13 17:26:21 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ +#include #include #include #include