aboutsummaryrefslogtreecommitdiff
path: root/src/executor.zig
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-31 17:19:29 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-31 17:19:29 +0000
commit69f876b91df1ccb9c7bedfd145d6688bd5c87387 (patch)
tree7f238cc690f98843fdbf12ae8d46e5b7e53de68b /src/executor.zig
parent0a604ad5552d35372a05cf09a7fdf66d3cdc69e7 (diff)
downloadshell-zig-69f876b91df1ccb9c7bedfd145d6688bd5c87387.tar.gz
shell-zig-69f876b91df1ccb9c7bedfd145d6688bd5c87387.zip
feat: jobs builtinHEADmaster
Diffstat (limited to 'src/executor.zig')
-rw-r--r--src/executor.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/executor.zig b/src/executor.zig
index f776e74..073c962 100644
--- a/src/executor.zig
+++ b/src/executor.zig
@@ -128,6 +128,8 @@ fn runBuiltinInChild(
builtins.executePwd(allocator, w) catch {};
} else if (std.mem.eql(u8, cmd_name, "cd")) {
builtins.executeCd(allocator, w, args) catch {};
+ } else if (std.mem.eql(u8, cmd_name, "jobs")) {
+ builtins.executeJobs();
} else if (std.mem.eql(u8, cmd_name, "exit")) {
// exit inside pipeline child just exits child
}