From f817d4ce0e35cd5d04caabf81538fbee69514249 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Fri, 17 Jun 2016 14:15:12 +0200 Subject: [PATCH] Bugfix: only unalias when neccesary. --- zsh/.zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 4130e1e..58c1a6c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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