aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/envs.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-08-16 14:00:01 +0200
committerGitHub <noreply@github.com>2024-08-16 14:00:01 +0200
commit056537d3eef06cddc60dc13b715a41766bb1fe9d (patch)
treeff7e107e992e4c98ac60ac88da7215cb0beb668a /zellij-utils/src/envs.rs
parentdocs(changelog): CommandPaneReRun plugin event (diff)
downloadsl0ppij-056537d3eef06cddc60dc13b715a41766bb1fe9d.tar.gz
sl0ppij-056537d3eef06cddc60dc13b715a41766bb1fe9d.tar.xz
sl0ppij-056537d3eef06cddc60dc13b715a41766bb1fe9d.zip
feat(ux): first run setup-wizard (#3556)
* separate saved/runtime structure, kind of working * serializing config * work * work * save config through the configuration screen * work * startup wizard * style(code): cleanups * fix(session): reload config from disk when switching sessions * style(fmt): rustfmt * fix(config): propagate cli config options to screen * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/envs.rs')
-rw-r--r--zellij-utils/src/envs.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-utils/src/envs.rs b/zellij-utils/src/envs.rs
index c7aff980..bda884a9 100644
--- a/zellij-utils/src/envs.rs
+++ b/zellij-utils/src/envs.rs
@@ -64,4 +64,7 @@ impl EnvironmentVariables {
set_var(k, v);
}
}
+ pub fn inner(&self) -> &HashMap<String, String> {
+ &self.env
+ }
}