This project aims to create a clean, efficient shell.
cmake -B cmake-build-debug -S .
cmake --build cmake-build-debug./cmake-build-debug/shellThe project includes comprehensive unit tests for all modules. To run the tests:
# Quick way
./run_tests.sh
# Or manually
cd cmake-build-debug
ctest --verboseAll tests use a custom lightweight testing framework that provides colored output and clear assertion messages.
- Develop a functional, well‑structured shell.
- Ensure the shell is performant and easy to use.
- Continuously improve the project as I learn more.
- Maintain high code quality with unit tests.
I’ll start by adapting the simple shell tutorial from Brennan Baker:
https://brennan.io/2015/01/16/write-a-shell-in-c/
This will serve as a solid foundation, which I'll later expand and customize. The resulting shell, named Trigger, will combine the tutorial's core ideas with additional features and optimizations.
Feature development is a collaboration between the project author and AI tooling: the author reviews, directs, and integrates AI-generated contributions alongside hand-written logic. All changes undergo code review before landing.
Feel free to explore the repository, submit issues, or contribute improvements.