blerust
A blazing fast, robust, multi-line shell line editor written in Rust.
Designed as a modern, high-performance alternative to ble.sh.
Features
- Zero-latency asynchronous-like syntax highlighting.
- Transactional Undo/Redo: Grouped actions (no more undoing single characters).
- Fuzzy Tab Completion: Intelligent command and path completion with
skimfuzzy matching algorithm. - Fish-like Auto Suggestions: Intelligent ghost text based on your command history.
- Modal Editing: Emacs and Vi (Normal/Insert) key bindings.
- Multi-line Terminal Wrapping: Gracefully handles long commands that wrap across terminal rows.
Installation
Via COPR (Fedora/RHEL)
After installing, run the setup command once to add blerust to your shell:
Then restart your terminal or source your shell config:
From Source
Shell Setup
The blerust --install command appends the following initialization snippet to
~/.bashrc:
# blerust initialization
if ; then ; fi
This replaces your interactive bash session with blerust on login, while
keeping subshells (commands run by blerust itself) unaffected via the
BLERUST_CHILD guard.
Building
Running