-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"session_serialization false" not functioning as expected #2995
Labels
Comments
For the last three weeks, I have been using this workaround: diff --git a/zellij-utils/src/consts.rs b/zellij-utils/src/consts.rs
index 05794495..2b50e1df 100644
--- a/zellij-utils/src/consts.rs
+++ b/zellij-utils/src/consts.rs
@@ -43,9 +43,9 @@ const fn system_default_data_dir() -> &'static str {
lazy_static! {
pub static ref ZELLIJ_PROJ_DIR: ProjectDirs =
ProjectDirs::from("org", "Zellij Contributors", "Zellij").unwrap();
- pub static ref ZELLIJ_CACHE_DIR: PathBuf = ZELLIJ_PROJ_DIR.cache_dir().to_path_buf();
+ pub static ref ZELLIJ_CACHE_DIR: PathBuf = ZELLIJ_PROJ_DIR.runtime_dir().expect("[TEMPORARY]: YOU HAVE CHANGED THIS. DONT FORGET!. WHEN IN DOUBT, REINSTALL!").to_path_buf();
pub static ref ZELLIJ_SESSION_CACHE_DIR: PathBuf = ZELLIJ_PROJ_DIR
- .cache_dir()
+ .runtime_dir().expect("[TEMPORARY]: YOU HAVE CHANGED THIS. DONT FORGET!. WHEN IN DOUBT, REINSTALL!")
.to_path_buf()
.join(format!("{}", Uuid::new_v4()));
pub static ref ZELLIJ_PLUGIN_PERMISSIONS_CACHE: PathBuf =
|
Very likely the same problem as #3127. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
While monitoring the processes, I noticed that Zellij was continuously writing to the storage, unlike most programs. I identified the specific files being written. However, when I attempted to disable the 'Session Resurrection', it didn't work as expected.
Both the command-line argument and the configuration option are not working.
I use the
fatrace
command to identify which files are being written to:Thank you for creating this amazing program. I truly appreciate and enjoy using it.
Minimal reproduction
zellij --config=/dev/null options --session-serialization false
Basic information
zellij --version
: zellij 0.39.2uname -av
:Linux archlinux 6.6.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 04 Dec 2023 00:29:19 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: