To activate this script, load it into an interactive ZSH session: % source history-substring-search.zshSee the "history-substring-search.zsh" file for more information: % sed -n '2,/^$/s/^#//p' history-substring-search.zsh | more