diff --git a/src/termio/shell_integration.zig b/src/termio/shell_integration.zig index 4febfd2e73..cf48768021 100644 --- a/src/termio/shell_integration.zig +++ b/src/termio/shell_integration.zig @@ -70,7 +70,7 @@ pub fn setup( // on modern macOS due to System Integrity Protection. if (comptime builtin.target.isDarwin()) { if (std.mem.eql(u8, "/bin/bash", command)) { - return null; + break :shell null; } } @@ -79,7 +79,7 @@ pub fn setup( command, resource_dir, env, - ) orelse return null; + ) orelse break :shell null; break :shell .{ .shell = .bash, .command = new_command, @@ -110,7 +110,7 @@ pub fn setup( }; } - return null; + break :shell null; }; // Setup our feature env vars