diff --git a/dotfiles/zsh/zshrc b/dotfiles/zsh/zshrc index 853deee..70236f0 100644 --- a/dotfiles/zsh/zshrc +++ b/dotfiles/zsh/zshrc @@ -68,8 +68,12 @@ source "$HOME/github_dotfiles/zsh-vim-mode/zsh-vim-mode.plugin.zsh" # HELP COMMAND +# By default in zsh, run-help is an alias to man, which is useless. +# Here we load the zsh run-help function and name it help, just like in bash. +if command -v run-help >/dev/null 2>&1; then + unalias run-help +fi autoload -Uz run-help -unalias run-help alias help=run-help