u/gooddy

Image 1 — Intellisense autocompletions inside of Bash
Image 2 — Intellisense autocompletions inside of Bash
▲ 894 r/bash+1 crossposts

Intellisense autocompletions inside of Bash

The completions are generated using Bash's existing completion framework (commonly scop/bash-completion or your own completion scripts). And if you don't have a completion script setup, flyline will try to synthesize one on the fly (😉) using man pages or --help output!

This is similar to https://github.com/microsoft/inshellisense but inshellisense only works for a hardcoded list of completions specifications and runs in a different process as Bash.

Flyline has a bunch of other features, so if you're interested you can check it out here: https://github.com/HalFrgrd/flyline. Thanks!

This software's code is partially AI-generated

u/gooddy — 5 days ago
▲ 6 r/bash

Flyline: a Bash plugin to replace readline for a modern line editing experience

Bash is great but I could never configure the command line writing experience to just how I like it.

So I've written a Bash plugin in rust that uses ratatui to provide a modern, smooth command line writing experience. This fills a similar gap to ble.sh but goes beyond what ble.sh offers.

With flyline, you get undo/redo support, tooltips, fuzzy auto completions, fuzzy history search, agent integration, mouse support, text selection, full prompt customization, and more!

And it all runs in the same process as Bash. See the readme on how to install it (no sudo required).

Let me know what you think!

github.com
u/gooddy — 2 months ago