From 9c723bb6454eaf88055384e457a3c96c28316cd7 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Tue, 11 Jun 2024 19:09:55 -0500 Subject: [PATCH] examples(vt): use shell environment for command --- examples/vt.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/vt.zig b/examples/vt.zig index 853ff5c..c3c6c36 100644 --- a/examples/vt.zig +++ b/examples/vt.zig @@ -44,10 +44,7 @@ pub fn main() !void { }, .scrollback_size = 0, }; - // const shell = env.get("SHELL") orelse "bash"; - const shell = "fish"; - // const ed = env.get("EDITOR") orelse "nvim"; - // const pager = env.get("EDITOR") orelse "nvim"; + const shell = env.get("SHELL") orelse "bash"; const argv = [_][]const u8{shell}; var vt = try vaxis.widgets.Terminal.init( alloc,