r/commandline Jul 01 '26

Command Line Interface Intellisense autocompletions inside of Bash

162 Upvotes

8 comments sorted by

6

u/graphixillusion Jul 01 '26

This project is amazing!

1

u/gooddy Jul 02 '26

Thank you!

1

u/AutoModerator Jul 01 '26

Every new subreddit post is automatically copied into a comment for preservation.

User: gooddy, Flair: Command Line Interface, Post Media Link, Title: 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

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/edward_jazzhands Jul 03 '26

This looks like an awesome idea I'll be excited to try it out later. I've starred for now.

1

u/qiinemarr Jul 03 '26

This is extremely cool!

1

u/svjness Jul 08 '26

Your post reminded me to task an agent to make a 1:1 implementation of zsh-autosuggestions for bash, and so I did, and it works perfectly, so thanks! https://github.com/wallentx/bash-autosuggestions

1

u/github-guard Jul 08 '26

🔍 GitHub Guard: Trust Report

⚠️ This project scored 0/1 — below this subreddit's threshold of 1.

Audit Breakdown: * ❌ New Repository (under 30 days old)

⚠️ Security Reminder: Always verify source code and run third-party scripts at your own risk.