srctree

Gregory Mullen parent 67e2e4d9 fbe8b09a
auto load history on startup

I'm pretty sure this is going to reintroduce a bug but I just want my shell to work again.... good luck everybody else, I commit now!
src/fs.zig added: 2, removed: 1, total 1
@@ -86,6 +86,7 @@ pub fn init(a: mem.Allocator, env: std.process.EnvMap) !fs {
var self = fs{
.alloc = a,
.rc = findCoreFile(a, &env, .rc),
.history = findCoreFile(a, &env, .history),
.dirs = .{
.cwd = try std.fs.cwd().openIterableDir(".", .{}),
},