Hacker News new | ask | show | jobs
by csdvrx 1363 days ago
> there's also ble.sh

I tried. It was a source of inspiration for the looks, because it looks really nice!

However, due to some design decisions ble.sh is slow to the point of being unusable on some hardware I use, including a modern laptop running msys2 instead of WSL2

> For instance, ctrl+r kills the need for suggestions

Use both: seed your history search with the path and a few keywords, then sort by frequency of how often it was the correct or successful complete in the past (meaning it gave you a non error return code)

2 comments

> slow to the point of being unusable

ble.sh has a vast array of configuration options. By disabling features I didn't like or need I was able to make it run pretty fast and responsive.

Interesting. Maybe I should have tried to configure it better?

In the end, doing a rewrite of the core features allowed me to fine tune the technical choices to work extremely well on Windows (where fork is slow) while adding SQL for both the command history and query format, so hopefully I didn't just reinvent the wheel :)

most of the problems with slowness with these things is that processes are very very heavy on windows compared to linux and take a while to launch.