builtins: cd: implement cd to absolute paths

This commit is contained in:
Khaïs COLIN 2025-03-31 16:33:46 +02:00
parent 5ce4a2b85f
commit e93e6efb93
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
6 changed files with 69 additions and 8 deletions

View file

@ -6,7 +6,7 @@
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/03/31 14:16:13 by khais #+# #+# */
/* Updated: 2025/03/31 14:21:46 by khais ### ########.fr */
/* Updated: 2025/03/31 16:20:11 by khais ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,5 +17,6 @@
t_builtin_type builtin_invalid(t_simple_cmd *cmd, t_minishell *app);
t_builtin_type builtin_pwd(t_simple_cmd *cmd, t_minishell *app);
t_builtin_type builtin_cd(t_simple_cmd *cmd, t_minishell *app);
#endif // BUILTINS_H