Re:Zsh 5.0 released
by braindead_in on Monday July 23, 2012 @01:28AM
(#4279676)
I switched solely for the reason Zsh has command substring search. It's a huge timesaver for some who spends more than 50% of time on the terminal.
[ Parent
| on HN ]
Ctrl-R in bash?
Re:Zsh 5.0 released
by ComputerGuru on Monday July 23, 2012 @02:00AM
(#4279766)
No, substring searches.
Ctrl+R in bash (by default, at least) will not search from the middle of a command. For instance, if the previous command was "hello", searching for "ello" will not bring it up. Whereas with zsh, it will.
The default bash on OS X (3.2.48(1)-release) just did when I tried it.
Ctrl+R definitely works that way with bash, but I think he may be referencing tab completion:
> ell<TAB>
Completing external command
git-shell xdmshell xkbbell
Completing shell function
_ispell