diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-05-23 10:11:18 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-05-23 10:11:18 +0000 |
commit | 8a24c5a5ee55ddec6896540de2e042abe009ed1e (patch) | |
tree | 53f3afed4752e85ac762c4c878e82f99d47c8fea /Src/Zle/zle_tricky.c | |
parent | dc3668dd20133285416b6a3269c1d7ea81cdd57e (diff) | |
download | zsh-8a24c5a5ee55ddec6896540de2e042abe009ed1e.tar.gz zsh-8a24c5a5ee55ddec6896540de2e042abe009ed1e.tar.xz zsh-8a24c5a5ee55ddec6896540de2e042abe009ed1e.zip |
users/8856, users/8863: which-command stuff
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 7d4fbd641..778305d18 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -2390,9 +2390,12 @@ int processcmd(UNUSED(char **args)) { char *s; - int m = zmult; + int m = zmult, na = noaliases; + if (!strcmp(bindk->nam, "which-command")) + noaliases = 1; s = getcurcmd(); + noaliases = na; if (!s) return 1; zmult = 1; |