summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec.zig b/src/exec.zig
index ca79a481..b3cbbdd9 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -918,7 +918,7 @@ pub fn executeBuiltinLine(p: *Pardes, id: usize, txt: []const u8) bool {
const head = std.meta.stringToEnum(Builtin, cmd[0 .. sp orelse break :blk null]) orelse break :blk null;
break :blk if (builtins.registry.takesArg(head)) head else null;
};
- const b = bi orelse return false;
+ const b = bi orelse return pardes.Kind.runLine(p, id, cmd);
p.exec_depth += 1;
defer p.exec_depth -= 1;
const typed = if (sp) |s| std.mem.trim(u8, cmd[s + 1 ..], " \t") else "";