r/bash 5d ago

reedline-bash - using nushell's reedline (line editor) in bash.

I made a bash plugin that replaces bash's line-editor, readline, with nushell's reedline.
This brings all the line-editing, styling, completion, keybind and selection features from nushell to native bash. It's still pretty early in development, most reedline features should work just fine, but things may still break :)

repository

code partially written with AI (claude).

Credits:
- flyline - a similar project that implements a custom line-editor, i used this as main reference for replacing readline
- reedline

GIF created with https://github.com/HalFrgrd/evp

8 Upvotes

4 comments sorted by

1

u/IBNash 5d ago

1

u/Hauptideal 18h ago

just that projects like this and Flyline are blazingly fast and written in Rust, not huge sluggish shell scripts

1

u/AlterTableUsernames 4d ago

Why would I want to give up the perfect bash readline?

1

u/Hauptideal 17h ago

cool! switched to fish. But if bash becomes useable, that would be my favourite. I don't need a modern syntax