about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-03-21 17:07:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-03-21 17:07:25 +0000
commit5d7ee7574a4569d6eb47dda0848b5c480b949c8d (patch)
treeacc467b5a580f94d9097a32d9d4695d5805a821e /Src
parent0f1bcaa75bcc41ecab0ee236a29805fb48bd12ff (diff)
downloadzsh-5d7ee7574a4569d6eb47dda0848b5c480b949c8d.tar.gz
zsh-5d7ee7574a4569d6eb47dda0848b5c480b949c8d.tar.xz
zsh-5d7ee7574a4569d6eb47dda0848b5c480b949c8d.zip
21042: limitations with execute-named-command
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 5f2b07672..aa36901ed 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1053,6 +1053,8 @@ execzlefunc(Thingy func, char **args)
 		ret = completecall(args);
 		if (atcurhist)
 		    histline = curhist;
+	    } else if (!w->u.fn) {
+		handlefeep(zlenoargs);
 	    } else {
 		queue_signals();
 		ret = w->u.fn(args);