- Rust 96.4%
- Makefile 3.6%
| src | chore: remove duplicate 'stopped' msg | |
| .gitignore | Fixed gitignore | |
| Cargo.lock | feat(error): add job control error variants | |
| Cargo.toml | feat(shell): ignore SIGINT so ctrl-c kills child but not the shell | |
| LICENSE | Add license | |
| Makefile | feat: make target directory in makefile a variable to make installation easier | |
| README.md | chore: remove codeberg move ntoice ontop of readme | |
rsh
the small, simple rust shell
rsh is a small, portable, secure and fast shell in Rust.
Important
rsh is a passion project at the most, and is in pretty heavy development. I am also a solo developer. This means that this shell will probably not be the best shell out there. It could probably compete though.
installing
Note
If you use
doasinstead ofsudo, edit theSUDO = sudoline near the top of the Makefile toSUDO = doas. You can also edit the other variables if you prefer to have a seperate install location.
The Makefile is designed to be pretty flexible. This section is basically just saying how to use it.
build- Builds the project in Release mode. Does not install.debug- Builds the project in Debug mode. Does not install.install- Adds the built binary intarget/releasetousr/local/binand/etc/shells. Does not build.clean- Cleans the built binary out oftarget/releaseortarget/debug. Does not remove anything from/etc/shellsor/usr/local/bin.remove- Removes the binary out of/etc/shellsand/usr/local/bin.
If you are a regular user, run make build, then make install.
contributing
To contribute, open a pull request. Anything that can help this project be better is accepted.