Skip to content

melogtm/trigger

Repository files navigation

Trigger

CI

Overview

This project aims to create a clean, efficient shell.

Building

cmake -B cmake-build-debug -S .
cmake --build cmake-build-debug

Running

./cmake-build-debug/shell

Testing

The project includes comprehensive unit tests for all modules. To run the tests:

# Quick way
./run_tests.sh

# Or manually
cd cmake-build-debug
ctest --verbose

All tests use a custom lightweight testing framework that provides colored output and clear assertion messages.

Goals

  • 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.

Inspiration

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.

Development

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.

About

Shell

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors