1
0
Fork
You've already forked sm-sh
0
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
2025年08月29日 14:23:13 -07:00
assets docs: add showcase images to README 2025年08月28日 19:20:04 -04:00
patches feat: add status code support to starship patch 2025年08月29日 12:37:38 -04:00
src Fix formatting error caused by rustfmt 2025年08月29日 14:23:13 -07:00
.envrc Initial commit 2025年08月25日 23:25:17 -04:00
.gitignore Update gitignore to include Nix build results 2025年08月26日 19:18:01 -04:00
Cargo.lock Remove termion 2025年08月26日 19:25:14 -04:00
Cargo.toml Remove termion 2025年08月26日 19:25:14 -04:00
flake.lock Initial commit 2025年08月25日 23:25:17 -04:00
flake.nix Remove dead code from flake.nix 2025年08月26日 12:28:45 -04:00
LICENSE Add LICENSE 2025年08月29日 03:08:48 +02:00
README.md docs: update nix build instructions 2025年08月28日 19:22:12 -04:00

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).

Showcase

general usage showcase starship showcase