aboutsummaryrefslogtreecommitdiff
path: root/src/env_tools.c
diff options
context:
space:
mode:
authorChristopher Uhlig2025-01-22 16:50:05 +0100
committerChristopher Uhlig2025-01-22 16:50:05 +0100
commitad5eae00584c6c4a88e873b85645c10c47cd7bf8 (patch)
tree77d00c9f815d26b05594fe75c11e364b3568e3ec /src/env_tools.c
parentf6e474d27a1398c6d4f2e88c7f2d3797b85217da (diff)
downloadminishell-ad5eae00584c6c4a88e873b85645c10c47cd7bf8.tar.gz
minishell-ad5eae00584c6c4a88e873b85645c10c47cd7bf8.zip
uiuiuiui
Diffstat (limited to 'src/env_tools.c')
-rw-r--r--src/env_tools.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/env_tools.c b/src/env_tools.c
index f1c3748..b2e7873 100644
--- a/src/env_tools.c
+++ b/src/env_tools.c
@@ -6,16 +6,16 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/15 16:14:31 by dkaiser #+# #+# */
-/* Updated: 2025/01/22 00:01:03 by chuhlig ### ########.fr */
+/* Updated: 2025/01/22 14:13:02 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
-// char **get_split_path(t_env *env)
-// {
-// char *path;
+char **get_split_path(t_env *env)
+{
+ char *path;
-// path = env_get(env, "PATH");
-// return (ft_split(path, ':'));
-// }
+ path = env_get(env, "PATH");
+ return (ft_split(path, ':'));
+}