ehoneahobed/eshell ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple mini shell in C that feels like a tiny version of Bash.
I want it to run in the terminal, show a prompt, accept commands from the user, and execute them properly. It should handle normal program commands, figure out where executables are located, and keep running until the user quits. If there are a few common built in commands like exit or changing directories, include those too.
Please keep it clean and easy to understand, since this is meant to be a small learning project. If you need to check anything in the docs or look up current behavior, go ahead and do that. I mainly want a working shell that I can compile and try locally, with the code organized in a straightforward way.