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