5 ms·
An important addition to that is to repeatedly hit ctrl-r to cycle through the matching commands in the history.
by oyving 17y ago
An important addition to that is to repeatedly hit ctrl-r to cycle through the matching commands in the history.
- erlanger 17y agoHow do you reverse the search? <S-C-R> didn't do it for me. Either way this could be a good substitute for what I do now, tediously grepping .zsh/bash_history...
- mziulu 17y agoIf by reverse you mean going forward instead of backwards, that should be done with Ctrl-S; it does not work in Bash though, since Ctrl-S locks the scrolling of the terminal. I believe this behavior can be overridden, through some .xinputrc settings perhaps, but I haven't still found enough motivation to look it up! edit: ok, I've found this: http://wiki.archlinux.org/index.php/Bash#History_search http://wiki.archlinux.org/index.php/Bash#History_search