logoalt Hacker News

jerpint11/08/20242 repliesview on HN

Does anyone know of a “copilot” style autocomplete in the CLI? I don’t want it to run anything for me, just predict what command I might type next


Replies

BohdanPetryshyn11/08/2024

I'm currently hacking together a prototype of such a tool. The problem I noticed is that in CLI, commands are way less predictable than lines in code files, so such a tool will probably have a pretty low correct completion rate. However, there are clearly cases where it could be very helpful.

brandonchen11/08/2024

I assume you're referring to it guessing at what command you might type next? If so, the closest I can think of is Warp. Have you tried it?