2 个稳定版本
| 1.1.0 | 2022 年 10 月 12 日 |
|---|---|
| 1.0.0 | 2022 年 6 月 29 日 |
#1372 in 文件系统
240KB
6.5K SLoC
俄什特
用 Rust 编写的小型 Shell 工具。
安装
克隆、构建和安装
git clone https://github.com/mverleg/rusht /tmp/rusht || cd /tmp/rusht ; git pull
cargo install --bins --all-features --path /tmp/rusht
或者以压缩模式
RUSTFLAGS="-C target-cpu=native" cargo +nightly install -Z build-std=std,panic_abort --target "$(rustc -vV | grep host | sed -E 's/.*: (.*)/\1/')" --path .
示例
cmadd,cmdo,cmlist,cmdrop- 将命令推入堆栈,直接或从输出,然后逐个或一次性运行。unique- 过滤或显示重复行,包括通过前缀重复(即/a和/a/b是重复的)。dir_with- 搜索包含特定文件或子目录的目录,例如所有 Rust 项目或 git 仓库。cached- 缓存命令的输出一段时间。
依赖项
~26–42MB
~768K SLoC