unurgunite

Fish-like autosuggestions for irb

10
0
89% credibility
Found May 24, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Ruby
AI Summary

Irb::Autosuggestions is a helpful add-on for Ruby programmers who use the interactive Ruby console. As you type, it watches your command history and shows you faded gray text after your cursor suggesting what you might want to type next—similar to how some modern shells predict your next command. You can press the right arrow key to instantly accept the suggestion, or keep typing to dismiss it. It's designed to save time and keep you in your creative flow without interrupting your work.

How It Works

1
💻 You're a Ruby developer working in the console

You've been typing commands all day and wish you didn't have to retype similar things over and over.

2
📦 You add a small helper to your setup

You drop a tiny package into your Ruby environment that watches what you type.

3
Gray text appears as you type

As soon as you start typing, faded gray text shows up after your cursor suggesting what you might want to type next.

4
You decide what to do with the suggestion
👆
Accept it with one key press

You hit the right arrow key and the gray text becomes real, instantly completing your code.

✍️
Keep typing to dismiss it

You ignore the suggestion and keep typing your own command instead.

5
🔄 Your code is ready to go

Whether you accepted the suggestion or wrote it yourself, your command is complete and you can run it.

🎉 You save time and stay in the flow

No more retyping long commands—just accept the hint and keep building. Your productivity feels effortless.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is irb-autosuggestions?

This Ruby gem brings fish-shell-style autosuggestions to IRB (Interactive Ruby). As you type commands, gray ghost text appears showing the most recent matching entry from your history. Press the right arrow to accept the suggestion and it fills in instantly. It works with multiline history entries too, showing extra lines below the prompt and positioning the cursor correctly when you accept.

The implementation hooks into Ruby's built-in line editor and queries your session history on every keystroke. No configuration required out of the box, though you can disable it via IRB.conf or an environment variable if needed.

Why is it gaining traction?

Fish shell's autosuggestions are beloved by developers who use Bash or Zsh, and this fills that same gap for Ruby developers working in IRB. The experience feels natural if you've used the feature elsewhere, and it requires almost zero setup to try. The multiline handling is particularly nice—it renders extra lines below your current input and restores the cursor properly when you accept, which would be painful to live without once you've tried it.

Who should use this?

Ruby developers who spend significant time in IRB will get the most value. If you're constantly pressing up-arrow to cycle through similar commands, this eliminates that friction. Developers moving from Fish shell who miss this feature will feel at home. It's less useful if you rarely use IRB interactively or mostly run one-off scripts.

Verdict

At only 10 stars and version 0.1.1, this is early-stage software with a 0.8999999761581421% credibility score. The codebase is small and focused, CI runs, and the documentation is clear for what it does. Try it if you're a heavy IRB user and see if the workflow clicks for you—but manage expectations around maturity and don't depend on it for anything critical without testing thoroughly first.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.