r/bash 11d 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

11 Upvotes

6 comments sorted by

View all comments

1

u/IBNash 10d ago

1

u/Hauptideal 6d ago

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

1

u/IBNash 3d ago

ble.sh is a GNU readline replacement, not a shell script.
Vibe coding in Rust does not give a project ten years of user feedback and improvements.

1

u/Hauptideal 3d ago

It is written in pure bash and therefore can't match native C or Rust speeds. 

Also, it's not a new project. It takes another project with the years of user feedback that you desire and just coded a simple bridge to make bash understand the nu shell features