about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-02-20 21:49:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-02-20 21:49:56 +0000
commit84864d5780bf666e63e7d2f6a584a58f3555b933 (patch)
tree42494e18aa5eb90fed61f4b50ee25f41b7a246f5 /Src/Zle
parent1270a9d8ee0ea6ae533546b07a6714f351346600 (diff)
downloadzsh-84864d5780bf666e63e7d2f6a584a58f3555b933.tar.gz
zsh-84864d5780bf666e63e7d2f6a584a58f3555b933.tar.xz
zsh-84864d5780bf666e63e7d2f6a584a58f3555b933.zip
26588: don't expand aliases in run-help
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_tricky.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index f9ae3aa1b..1fcb4dee6 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -2799,8 +2799,7 @@ processcmd(UNUSED(char **args))
     char *s;
     int m = zmult, na = noaliases;
 
-    if (!strcmp(bindk->nam, "which-command"))
-	noaliases = 1;
+    noaliases = 1;
     s = getcurcmd();
     noaliases = na;
     if (!s)