From e7d8a9f7d234cb2b8a6691c5a2e33f2b18776a3d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 17 Jan 2022 00:05:00 -0500 Subject: simplify environment handling this temporarily breaks cd history, will fix this soon --- src/shell/history/entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shell/history/entry.rs') diff --git a/src/shell/history/entry.rs b/src/shell/history/entry.rs index 01aad8b..a45d99d 100644 --- a/src/shell/history/entry.rs +++ b/src/shell/history/entry.rs @@ -343,7 +343,7 @@ impl Entry { env: Env, event_w: async_std::channel::Sender, ) { - self.state = State::Exited(ExitInfo::new(*env.latest_status())); + self.state = State::Exited(ExitInfo::new(env.latest_status())); self.env = env; event_w.send(Event::PtyClose).await.unwrap(); } -- cgit v1.2.3-54-g00ecf