Hacker News new | ask | show | jobs
by PoignardAzur 1940 days ago
> As an example, type anything(for instance, '.conf') + up arrow, and there you see all the completions (for instance, 'less /etc/postgresql/10/main/pg_hba.conf' shows for me) based on the shell history. You can then cycle through them with up/down arrows. It is the same as ctrl+R in bash, but so discoverable and plain. I found tons of similar details in fish.

Fun anecdote: my school's crappy homebrew distribution had a bash plugin that did exactly that (it was the distro's one redeeming feature, honestly).

After I moved to other distros, I missed that feature for years (I hate Ctrl+R).

Looking for plugins that implemented it was how I found fish, and I never looked back.