HOWTO: Ghost in the Shell - Part 3

ILUXA

Aspiring Daemon

Reaction score: 434
Messages: 679

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

My full ~/.zshrc may be found here.
 
OP
OP
vermaden

vermaden

Son of Beastie

Reaction score: 1,144
Messages: 2,748

@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
 
Top