From 5ba038c3eb07fc94fc8d6f46b451f552bfc121a4 Mon Sep 17 00:00:00 2001 From: tsne Date: Fri, 19 Jun 2026 13:09:03 +0200 Subject: minor bugfixes and output formatting --- src/env.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/env.zig') diff --git a/src/env.zig b/src/env.zig index bb1e8bc..389890f 100644 --- a/src/env.zig +++ b/src/env.zig @@ -18,6 +18,7 @@ distfiles_dir: []const u8, distfiles_history: usize, default_category: ?[]const u8, default_repo_branch: []const u8, +make_conf: ?[]const u8, editor_cmd: ?[]const u8, _proc_env: std.process.Environ, @@ -41,6 +42,7 @@ pub fn init(allocator: std.mem.Allocator, env: std.process.Environ, etc: []const .distfiles_history = 1, .default_category = null, .default_repo_branch = "main", + .make_conf = null, .editor_cmd = null, ._proc_env = env, @@ -73,6 +75,8 @@ pub fn init(allocator: std.mem.Allocator, env: std.process.Environ, etc: []const self.default_category = v.val; } else if (std.mem.eql(u8, v.key, "git-branch") and v.val.len > 0) { self.default_repo_branch = v.val; + } else if (std.mem.eql(u8, v.key, "make.conf") and v.val.len > 0) { + self.make_conf = v.val; } else if (std.mem.eql(u8, v.key, "editor") and v.val.len > 0) { self.editor_cmd = v.val; } else { -- cgit v1.3