News for hackers. Stuff that matters.
Re:Fish shell 3.0 by Barrin92 on Friday December 28, 2018 @05:35PM (#18780032)
I like fish's auto completion speed and smoothness but one thing that has held me back when I checked out fish was that there didn't seem to be a `Ctrl+r` command that bash and zsh provide to quickly go through history commands.
Re:Fish shell 3.0 by robin_reala on Friday December 28, 2018 @05:39PM (#18780054)
You start typing what you want, then hit the up arrow to fuzzy search back through history.
Re:Fish shell 3.0 by AdamGibbins on Friday December 28, 2018 @06:08PM (#18780232)
Is this the only way? Arrow keys require I take my fingers off the home row, which is far from ideal with the frequency I search shell history.
Re:Fish shell 3.0 by waterhouse on Friday December 28, 2018 @06:55PM (#18780476)
Control-P does it too, and is what I normally use. (Generally, I use control-{n,p,f,b} instead of arrow keys wherever possible. I also have caps lock mapped to control.)
Re:Fish shell 3.0 by syntonym on Friday December 28, 2018 @06:49PM (#18780449)
fzf [0] has a history mode included and integrates nicely with fish. You just need to enable the fzf bindings [1], then CTRL-r will give you a (fzf) history searcher.

[0] https://wiki.archlinux.org/index.php/Fzf#fish

[1] https://github.com/junegunn/fzf