3
2
Fork
You've already forked sm-sh
1
A suckless shell for the modern age.
  • Rust 54.7%
  • Nix 45.3%
2025年09月09日 12:19:04 -04:00
assets docs: add showcase images to README 2025年08月28日 19:20:04 -04:00
npins feat: use npins for dependency pinning 2025年09月09日 11:45:35 -04:00
patches feat: add status code support to starship patch 2025年08月29日 12:37:38 -04:00
src feat: add env builtin 2025年09月02日 12:51:34 -04:00
.envrc feat: use npins for dependency pinning 2025年09月09日 11:45:35 -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
default.nix feat: use naersk for building 2025年09月09日 12:19:04 -04:00
flake.lock feat: use npins for dependency pinning 2025年09月09日 11:45:35 -04:00
flake.nix feat: use npins for dependency pinning 2025年09月09日 11:45:35 -04:00
LICENSE Add LICENSE 2025年08月29日 03:08:48 +02:00
README.md feat: use npins for dependency pinning 2025年09月09日 11:45:35 -04:00
shell.nix feat: use npins for dependency pinning 2025年09月09日 11:45:35 -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