RShell
Rust Shell. This is an attempt to create a simple shell in Rust, because why not.
My starting point is this article which is excellent. I will start with the final form of a shell given in the article and try to reformat it:
- Make it more easy to extend
- Make it a lib
I can also add basic features:
- History
- customizable prompt
- Colours ?
Later, I can even make something useful out of it. For example, I could make it so that it is configurable via a config file. I could make it the default terminal via ssh for some user and make it so the terminal opens directly in a docker container, or chrooted or smthing, as a basic form of honeypot.
Done
- A basic history system. Writes to ~/history.rshell
- Tests for this history system
Todo
- Add a function that gets the path of the history file, rather than copying it every time
- Other tests for the rest of the features
- Add a builtin history command
- Add a builtin ! like in bash
- Get some sleep
- Order the file (modules...)
Description
v1.0.1
Latest
Languages
Rust
99.1%
Makefile
0.9%