0

I want to use Ctrl + r to navigate in commands history, but I want to see all list of commands.

I want to view the list of history | grep some-term commands and going "up" or "down" choose the proper command I want to use.

I saw someone who add this somehow to his Mac terminal (maybe z-shell) and wondered if there is something similar to Debian Linux.

1
  • you can just use history command & call back !12 or !number of a command, use ctrl+R use alt+R or alt-O to run found command you may have all of this depending on you shell.
    – francois P
    Jun 26, 2018 at 16:29

1 Answer 1

0

If your unhappy with the default Ctrl+R behaviour, I recommend you to install fzf (fuzzy finder).

Fzf replaces the Ctrl+R search with a so-much-better one. It has a lot more features for finding files and much more.

You should read the README from the the github page and the Examples from the wiki.

Installation:

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .