From 4151ab7aab939a12721a0f4207c87b5c09ace339 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 8 Mar 2022 20:17:31 -0500 Subject: save the history on shell exit --- src/shell/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shell/mod.rs') diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 4a5c5d2..fa7147b 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -50,6 +50,8 @@ pub async fn main() -> Result { } } + shell.history.save().await; + Ok(0) } -- cgit v1.2.3-54-g00ecf