HOWTO: Ghost in the Shell - Part 3

vermaden said:
Now back to Query Functions for history:

h is an equivalent of cat ~/.zhistory | grep -i QUERY command.
H is an equivalent of cat ~/.zhistory | grep QUERY command.

Better use "history-incremental-search-backward" and "history-incremental-search-forward",
such functionality is already implemented, it will be much more handy, personally I use ctrl+alt+up/down
to search zsh history:
Code:
# ctrl+alt+up/down to search history
bindkey '\e[1;7A' history-incremental-search-backward
bindkey '\e[1;7B' history-incremental-search-forward
1q4bHxu.png

My full ~/.zshrc may be found here.
 
@ILUXA


For some reason I missed Your reply ... sorry for that.

Thanks for good suggestion and I will definitely check your ~/.zshrc file :)

Regards,
vermaden
 
Back
Top