56 Commits

Author SHA1 Message Date
59a2ce8838 🏗️」 wip(main.c): changed main to execute commands 2024-06-21 09:59:31 +02:00
59964a9248 🔨」 fix: Removed debug print 2024-06-20 14:36:25 +02:00
ce70b6ee94 🎉」 init: Merged branch successfully 2024-06-20 14:30:25 +02:00
64ede5becd 」 feat: $ working 2024-06-20 14:28:54 +02:00
2dc8817d98 🔨」 fix(exec_cmd): fixed some things. 2024-06-18 20:31:40 +02:00
6ae7296237 🏗️」 wip: Work in progress 2024-06-18 12:21:40 +02:00
8ec6d94a52 🔨」 fix(get_path): fixed algorythm for better performances 2024-06-13 14:21:45 +02:00
f70c506fed 🔨」 fix(exec_fn): fixed exec functions, not normed 2024-06-10 18:17:12 +02:00
0266cee5cb 🔨」 fix(env_cmd): fixed strcmp and env cmds 2024-06-10 17:03:14 +02:00
815689e72f 🏗️」 wip(env): not tested, could not work 2024-06-09 16:03:09 +02:00
cf0a230f28 ✏️」 norm(src/exec/*): normed everything... 2024-06-05 01:23:18 +02:00
5642c267f0 🔨」 fix: fixed split cmd when there is no path var, added split cmd execution to the main 2024-06-04 22:28:13 +02:00
b7601617cc 」 feat(exec_cmd): commands execution is back !
This reverts commit 06f2480711fb7a8581a3cfb087345ff514fa44aa.
2024-06-04 21:40:14 +02:00
e6e7a823d4 🔨」 fix: Change argv from char* to char** 2024-06-04 13:20:51 +02:00
b17e34e030 🏗️」 wip: testing things, might broke. 2024-06-01 13:54:32 +02:00
5a71c50897 」 feat: Parsing working but not handling error 2024-05-31 19:26:09 +02:00
6bbdef9d7c 」 feat: Parsing of command kinda working 2024-05-30 17:59:49 +02:00
ad01524c36 🔨」 fix: Fixed __to_token invalid read if no space 2024-05-28 16:29:34 +02:00
c87d45e584 🏗️」 wip: testing things, might broke. 2024-05-28 14:21:41 +02:00
c6d1149642 🔨」 fix: Fixed prompt with env function 2024-05-27 19:02:07 +02:00
ebe3560d03 🔨」 fix(env commands): fixed segfault 2024-05-27 18:06:14 +02:00
64f495b114 」 feat(env_get_value): added a func to get value of a variable with the env struct 2024-05-27 13:13:46 +02:00
ad1f4e936d 🔨」 fix: get_pwd fixed leak 2024-05-27 12:55:15 +02:00
0b81369a9f 」 feat: Tokenizer working 2024-05-26 18:01:33 +02:00
8a3283df3b Merge branch 'main' into indev_adjoly 2024-05-25 14:14:12 +02:00
f88e6380c0 」 feat: __to_redir and __to_redir_sign work 2024-05-25 14:06:42 +02:00
6a8a6382bd 🏗️」 wip: __to_token nearly done 2024-05-23 20:53:07 +02:00
5663190865 」 feat(heredoc): multiple heredoc implementation 2024-05-23 07:19:42 +02:00
124d86dd92 🔨」 fix(main): me dumb 2024-05-22 15:38:50 +02:00
dac5ad71bc 🔨」 fix: revert old main, my bad 2024-05-22 14:53:27 +02:00
f1a4db8bc6 🔨」 fix(env #4): fixed leaks and normed :D 2024-05-22 14:51:52 +02:00
ce0ef1d897 🔨」 fix: Impossible free in __split_pipe 2024-05-22 11:43:25 +02:00
bc5af9f056 🔨」 fix(Issue : prompt/historique #3): Goofy indent removed 2024-05-21 21:03:03 +02:00
390485dab3 🔨」 fix(Issue : prompt/historique #3): Fixed and normed 2024-05-21 20:58:25 +02:00
0020764f51 」 feat(heredoc.c): ft_heredoc :D 2024-05-21 00:36:01 +02:00
ad087c1275 🔨」 fix: forgot a ) D: 2024-05-21 00:29:11 +02:00
823dbba5bd 🔨」 fix(env_delete): fixed for edge-case (first element) 2024-05-20 23:59:11 +02:00
7b18eb6327 🏗️」 wip(heredoc): working on the heredoc... 2024-05-20 11:22:25 +02:00
3ab8361d69 🏗️」 wip(exec/get_path): can get all files in path, only printing for now. 2024-05-19 05:49:22 +02:00
825b7edf86 」 feat: Working split of pipe 2024-05-18 17:44:12 +02:00
984f602e82 🔨」 fix(Prompt): Added protection to alloc -> to-do = change return (NULL) to exit function and free all 2024-05-17 14:30:23 +02:00
0dc8d035d3 🔨」 fix: correct if hostname does not have . 2024-05-15 16:34:04 +02:00
ad14d6b9ce 🔨」 fix: Can compile on nixos 2024-05-13 17:33:29 +02:00
cd49ddb22c 🔨」 fix: rm merge files 2024-05-10 11:10:17 +02:00
ef07733bcc 🔨」 fix: Merge resolved 2024-05-09 16:46:13 +02:00
9b5ebcdbc5 🔨」 fix: Fixed make file with latest version of cc 2024-05-09 16:12:53 +02:00
44bcb15a33 🔨」 fix: fixed some things. 2024-05-07 11:04:20 +02:00
cff9e40005 」 feat(env): added environment functions :D 2024-05-06 20:54:12 +02:00
c882ffb3cf 🔨」 fix: prompt leak fixed 2024-05-02 15:54:16 +02:00
bbadc3e663 」 feat: Prompt finished 2024-05-02 15:50:58 +02:00