|
|
Log in / Subscribe / Register

New features in the fish shell

New features in the fish shell

Posted Sep 29, 2020 19:54 UTC (Tue) by mathstuf (subscriber, #69389)
In reply to: New features in the fish shell by logang
Parent article: New features in the fish shell

Hmm. I use Ctrl+R in zsh myself. I also have Ctrl+P which does a glob to match the history (rather than literal matches). But, I also use the Up searches for history with the same starting word and I add Ctrl+Up which searches the history for entries with the same text before the cursor. They all have their uses. Did fish really not have Ctrl+R (or what I have on Ctrl+P) before?


to post comments

New features in the fish shell

Posted Sep 30, 2020 12:13 UTC (Wed) by andrewsh (subscriber, #71043) [Link] (2 responses)

Fish searches through history continuously without you needing to press Ctrl+R.

New features in the fish shell

Posted Sep 30, 2020 12:35 UTC (Wed) by mathstuf (subscriber, #69389) [Link] (1 responses)

Right, but that's only prefixes IIRC? How do you search the history for commands with words in the middle?

New features in the fish shell

Posted Sep 30, 2020 14:47 UTC (Wed) by ayoisaiah (guest, #141800) [Link]

It works regardless of the position of the word in the command.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds