aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-08-19 19:02:52 +0200
committerGitHub <noreply@github.com>2024-08-19 19:02:52 +0200
commitcfbc0ff49036edeeb25e52eb67948de7dfe5590b (patch)
tree284e2900b54f0d816ed7dd7cfdefc8485c61882e /zellij-utils/src
parentdocs(changelog): first run setup wizard (diff)
downloadsl0ppij-cfbc0ff49036edeeb25e52eb67948de7dfe5590b.tar.gz
sl0ppij-cfbc0ff49036edeeb25e52eb67948de7dfe5590b.tar.xz
sl0ppij-cfbc0ff49036edeeb25e52eb67948de7dfe5590b.zip
feat(ux): reload config at runtime (#3558)
* feat(ux): reload config at runtime * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src')
-rw-r--r--zellij-utils/src/input/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-utils/src/input/config.rs b/zellij-utils/src/input/config.rs
index 92174eb2..cf3ba2cc 100644
--- a/zellij-utils/src/input/config.rs
+++ b/zellij-utils/src/input/config.rs
@@ -234,7 +234,7 @@ impl Config {
self.env = self.env.merge(other.env);
Ok(())
}
- fn config_file_path(opts: &CliArgs) -> Option<PathBuf> {
+ pub fn config_file_path(opts: &CliArgs) -> Option<PathBuf> {
opts.config_dir
.clone()
.or_else(home::find_default_config_dir)