termio: remove unnecessary resources_key const

This commit is contained in:
Jon Parise
2024-07-03 10:32:50 -04:00
parent 89ac7ac5f6
commit 691319f6d7

View File

@ -923,10 +923,9 @@ const Subprocess = struct {
errdefer env.deinit();
// If we have a resources dir then set our env var
const resources_key = "GHOSTTY_RESOURCES_DIR";
if (opts.resources_dir) |dir| {
log.info("found Ghostty resources dir: {s}", .{dir});
try env.put(resources_key, dir);
try env.put("GHOSTTY_RESOURCES_DIR", dir);
}
// Set our TERM var. This is a bit complicated because we want to use