Check for existing run-help alias before trying to remove
This commit is contained in:
parent
4d77b4dbc9
commit
8b798f758d
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ bindkey -v
|
|||
autoload -Uz compinit promptinit run-help
|
||||
compinit
|
||||
promptinit
|
||||
unalias run-help
|
||||
case $(type run-help) in
|
||||
(*alias*) unalias run-help;;
|
||||
esac
|
||||
alias help=run-help
|
||||
# Persistant rehash to find new programs in the $PATH
|
||||
zstyle ':completion:*' rehash true
|
||||
|
|
Loading…
Add table
Reference in a new issue