mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Bugfix: only unalias when neccesary.
This commit is contained in:
@@ -36,7 +36,11 @@ autoload -Uz run-help
|
||||
autoload -Uz run-help-git
|
||||
autoload -Uz run-help-svn
|
||||
autoload -Uz run-help-svk
|
||||
unalias run-help
|
||||
|
||||
if [[ "${$(type run-help)#*alias}" != "$(type run-help)" ]]; then
|
||||
unalias run-help
|
||||
fi
|
||||
|
||||
alias help=run-help
|
||||
|
||||
# Set sensible tab width
|
||||
|
||||
Reference in New Issue
Block a user