Better help run-help with comment
This commit is contained in:
parent
0ec519730c
commit
d255ac9572
1 changed files with 5 additions and 1 deletions
|
@ -68,8 +68,12 @@ source "$HOME/github_dotfiles/zsh-vim-mode/zsh-vim-mode.plugin.zsh"
|
||||||
|
|
||||||
|
|
||||||
# HELP COMMAND
|
# 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
|
autoload -Uz run-help
|
||||||
unalias run-help
|
|
||||||
alias help=run-help
|
alias help=run-help
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue