I read the answer https://stackoverflow.com/a/13614816/4126652 and tried out the history-beginning-search-menu
I added the the 3 lines to my zshrc
autoload -Uz history-beginning-search-menu zle -N history-beginning-search-menu bindkey '^X^X' history-beginning-search-menu
Now let us say i have two items in history where item 2 is just a pipe on item 1 like:
cat #now i press ctrl-x-x Enter digit: 1 cat /etc/apt/sources.list 2 cat /etc/apt/sources.list | grep ubuntu
Then pressing 1 does the completion perfectly, however pressing 2 does nothing.
Has anyone run into this problem , am i missing something, i use oh-my-zsh standard configuration, does it conflict with this menu?
Please mention if any other detail is required.