forked from poacher/sm-sh
A suckless shell for the modern age.
- Rust 90.8%
- Nix 9.2%
|
PersonForSure
209d27c3ee
Fix formatting error caused by rustfmt
For some reason rustfmt was insisting on very weird formatting but now it's accepting a more readable version |
||
|---|---|---|
| assets | docs: add showcase images to README | |
| patches | feat: add status code support to starship patch | |
| src | Fix formatting error caused by rustfmt | |
| .envrc | Initial commit | |
| .gitignore | Update gitignore to include Nix build results | |
| Cargo.lock | Remove termion | |
| Cargo.toml | Remove termion | |
| flake.lock | Initial commit | |
| flake.nix | Remove dead code from flake.nix | |
| LICENSE | Add LICENSE | |
| README.md | docs: update nix build instructions | |
A suckless shell for the modern age.
Features
- Written in Rust for performance and safety
- Small and readable source code
- Tiny binary (500kb-ish)
- Plug and play with various utilities
Installation
With Nix:
git clone https://codeberg.org/poacher/sm-sh
cd sm-sh/
nix build
Without Nix:
git clone https://codeberg.org/poacher/sm-sh
cd sm-sh/
cargo build --release
Patching
Official patches can be found in patches/. For creating and applying patches please read the "Patches" section of the suckless hacking guide.
Recommended Programs
- fend provides the ability to perform math operations.
- starship provides advanced prompt customization. See the patch for more info.
- rlwrap provides command history and completion.
Contributing
If you would like to contribute then feel free to open a pull request or issue. If you would not like to create a Codeberg account to do so then message me on Discord @poacheragainagain or matrix @poacher:we2.ee (Discord preferred).