Better help run-help with comment

This commit is contained in:
flyingscorpio@arch-desktop 2020-09-04 18:26:17 +02:00
parent 0ec519730c
commit d255ac9572

View file

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