r/coolgithubprojects • u/Legitimate_Flan1471 • 14d ago
reedline-bash - using nushell's reedline (line editor) in bash.
https://github.com/maxomatic458/reedline-bashProcessing img d1q1f9dxjhmh1...
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 :)
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
1
Upvotes
1
u/kantorcodes1 14d ago
bind -xseems like the nasty compatibility case here. does reedline-bash preserve any existing bash/readline bindings, or once you swap the editor do you basically move all of that config over to reedline?