Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/00jciv00/mod-shell

A Modular Shell.
https://github.com/00jciv00/mod-shell

Last synced: about 1 month ago
JSON representation

A Modular Shell.

Awesome Lists containing this project

README

        

# mod-shell
A Modular Shell. ModSh is designed to allow users to build custom Shells of varying sizes and complexities. This is accomplished by taking advantage of the Zig Build System and Zig's Comptime code paradigm.

## Try it out
**Ensure you have the latest Zig (currently v0.12), which is available [here](https://ziglang.org/download/).**

1. Download
```shell
git clone https://github.com/00JCIV00/mod-shell.git
cd mod-shell
```
2. Build
```shell
zig build shell -Dshell_builtins=Basic -Dshell_prefix_kind=Command -Dshell_prefix=whoami -freference-trace -Drelease=true
```
3. Run
```shell
./bin/modsh
```

## Options
Run `zig build -h` and look at the "Project-Specific Options" section to see customization options. Details about the options can be found in the comments of [build.zig](build.zig).