The home tilde is not interpreted for our minishell. The subject is specifying only relative or absolute path. Then Error message appears
➜ 42_minishell git:(main) ✗ ./minishell
$: cd ~/ | echo $?
0
Error:
file: srcs/built-in/do_cd/do_cd_change_dir.c
message: No such file or directory
Error:
file: srcs/pipe/pipe_cmd.c
message: command not found
$:
The question is more why there are two error message instead of one
The home tilde is not interpreted for our minishell. The subject is specifying only relative or absolute path. Then Error message appears
The question is more why there are two error message instead of one