rusht

Crates.iorusht
lib.rsrusht
version1.1.0
sourcesrc
created_at2022-06-29 20:21:13.51806
updated_at2022-10-12 20:35:24.083527
descriptionShell commands written in Rust
homepagehttps://github.com/mverleg/rusht
repository
max_upload_size
id615676
size389,707
Mark Verleg (mverleg)

documentation

README

Rusht

Small shell utilities coded in Rust.

Install

Clone, build and install:

git clone https://github.com/mverleg/rusht /tmp/rusht || cd /tmp/rusht ; git pull
cargo install --bins --all-features --path /tmp/rusht

Or in minified mode:

RUSTFLAGS="-C target-cpu=native" cargo +nightly install -Z build-std=std,panic_abort --target "$(rustc -vV | grep host | sed -E 's/.*: (.*)/\1/')" --path .

Examples

  • cmadd, cmdo, cmlist, cmdrop - push commands onto a stack, directly or from output, and run them one by one or all at once.
  • unique - filters or shows duplicate lines, including duplicate by prefix (i.e. /a and /a/b are duplicate).
  • dir_with - search for directories that contain specific files or subdirs, e.g. all the Rust projects or git repos.
  • cached - cache the output of a command for a given amount of time.
Commit count: 0

cargo fmt