From fef150c8ff9d929e9924e9a16d623f107f3868e7 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 15 May 2021 13:17:35 +0200 Subject: [PATCH] docs(changelog): Invert Asset Installation --- CHANGELOG.md | 1 + src/server/mod.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c925429..a99a6f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] * Add `check` flag to `setup` subcommand, move `generate-completions` subcommand to `setup` flag (https://github.com/zellij-org/zellij/pull/503) +* Change the asset installation from an opt-in to an opt-out (https://github.com/zellij-org/zellij/pull/512) ## [0.10.0] - 2021-05-14 * Change Switch default config loading order of `HOME` and system (https://github.com/zellij-org/zellij/pull/488) diff --git a/src/server/mod.rs b/src/server/mod.rs index 3bd38999..283fc035 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -187,7 +187,7 @@ fn init_session( // Determine and initialize the data directory let data_dir = opts.data_dir.unwrap_or_else(get_default_data_dir); - #[cfg(not(disable_automatic_assets_installation))] + #[cfg(not(disable_automatic_asset_installation))] populate_data_dir(&data_dir); // Don't use default layouts in tests, but do everywhere else