Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrmiguel/rsh
Unix shell written in Rust.
https://github.com/vrmiguel/rsh
Last synced: about 2 months ago
JSON representation
Unix shell written in Rust.
- Host: GitHub
- URL: https://github.com/vrmiguel/rsh
- Owner: vrmiguel
- License: mit
- Created: 2020-06-09T23:14:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T00:42:59.000Z (over 4 years ago)
- Last Synced: 2024-10-14T22:10:34.253Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 77.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rsh
Unix shell written in Rust. This is an experiment in learning Rust.
![Screenshot](https://user-images.githubusercontent.com/36349314/84598912-82947d00-ae44-11ea-8673-6e76574304e9.png)
## Features
* Runs any program in `/bin` that does not require `sudo`;
* Piped commands, currently limited to a single pipe.
* Save the output of simple and piped commands to a file with `>`.
* e.g. `ls -li | tr s x > output`
* Signal handler;
* Implements `cd`;
* Unwinds before exit, interrupted or not;
* Prompt similar to `bash`'s default.## Build
Run `cargo build --release` (or `cargo build` for a debug build) inside the `rsh-master` folder.
## Dependencies
* signal-hook - 0.1.15
* whoami - 0.8.1
* dirs - 2.0.2
* termion - 1.5.5