aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-10-09 09:47:17 +0200
committerGitHub <noreply@github.com>2024-10-09 09:47:17 +0200
commit317fcdd91f50ea2ea0484f629ffc2e563cdfceae (patch)
treedec2b871a48fa39d762b9b0266ee1547f31e9c7f
parentdocs(changelog): plugin selectable race (diff)
downloadsl0ppij-317fcdd91f50ea2ea0484f629ffc2e563cdfceae.tar.gz
sl0ppij-317fcdd91f50ea2ea0484f629ffc2e563cdfceae.tar.xz
sl0ppij-317fcdd91f50ea2ea0484f629ffc2e563cdfceae.zip
feat(cli): show CACHE_DIR in `zellij setup --check` (#3652)
-rw-r--r--zellij-utils/src/setup.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/zellij-utils/src/setup.rs b/zellij-utils/src/setup.rs
index de9547af..cf6159fc 100644
--- a/zellij-utils/src/setup.rs
+++ b/zellij-utils/src/setup.rs
@@ -5,7 +5,7 @@ use crate::{
cli::{CliArgs, Command, SessionCommand, Sessions},
consts::{
FEATURES, SYSTEM_DEFAULT_CONFIG_DIR, SYSTEM_DEFAULT_DATA_DIR_PREFIX, VERSION,
- ZELLIJ_DEFAULT_THEMES, ZELLIJ_PROJ_DIR,
+ ZELLIJ_CACHE_DIR, ZELLIJ_DEFAULT_THEMES, ZELLIJ_PROJ_DIR,
},
errors::prelude::*,
home::*,
@@ -553,6 +553,7 @@ impl Setup {
)
.unwrap();
}
+ writeln!(&mut message, "[CACHE DIR]: {}", ZELLIJ_CACHE_DIR.display()).unwrap();
writeln!(&mut message, "[DATA DIR]: {:?}", data_dir).unwrap();
message.push_str(&format!("[PLUGIN DIR]: {:?}\n", plugin_dir));
if !cfg!(feature = "disable_automatic_asset_installation") {