42 | minshell This project has been created as part of the 42 curriculum by amartel, jdessoli
- run into minishell
program recived SIGfault -
echo "'$a' + "$a""->echo '$a' - strace (command)
- make redirection
- make heredoc
- env
- pwd
- cd
- export
- unset
- exit
- echo
-
-n
-
If libreadline is not found in pkg-config, at first check if it's already installed with this command:
pkg-config --libs readlineIf it returns something like -L/opt/homebrew/Cellar/readline/8.3.3/lib -lreadline then you can add libreadline to your PKG_CONFIG_PATH:
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.zshrc
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc
source ~/.bashrc
source ~/.zshrcotherwise, you can install it with Homebrew:
brew install readline