zsh: Add _page_readme_chpwd_handler()
Open READMEs in a pager when going into a directory that contains one.
This commit is contained in:
@@ -2,6 +2,8 @@ autoload -U select-word-style && select-word-style bash
|
||||
|
||||
autoload edit-command-line; zle -N edit-command-line
|
||||
|
||||
autoload -U add-zsh-hook
|
||||
|
||||
(( ! $+aliases[run-help] )) || unalias run-help
|
||||
autoload -Uz run-help run-help-git zmv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user