Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndunnett/crsh
Basic implementation of a unix shell written in Rust.
https://github.com/ndunnett/crsh
rust shell
Last synced: 1 day ago
JSON representation
Basic implementation of a unix shell written in Rust.
- Host: GitHub
- URL: https://github.com/ndunnett/crsh
- Owner: ndunnett
- License: mit
- Created: 2024-05-26T08:38:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-02T14:47:23.000Z (5 months ago)
- Last Synced: 2024-06-02T16:20:04.358Z (5 months ago)
- Topics: rust, shell
- Language: Rust
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
crshCrappy Rust SHell. Basic shell written in Rust, not meant to actually be used or taken seriously.## Features
* Functional prompt
* Command launching, piping, logical grouping, and lists
* Basic builtin commands `cd`, `which`, `exit`
* Non-interactive mode
* Persistent prompt history with auto hints## Todo
* Flesh out builtins
* Fully functional IO redirection
* Set/unset shell options
* Setting/reading env vars
* Bash-esque variable expansion
* Launching sub-shells
* Full scripting functionality
* Implement stack based compiler/interpreter
* Implement `ctrl-z` and `ctrl-c` and proper signal handling
* New scripting language
* Custom prompt styling
* Loading configuration files (ie. `.profile`, `.*rc`, `.*env`)
* Autocompletion
* Syntax highlighting
* Proper Windows support