aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-15 13:17:35 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-15 13:17:35 +0200
commitfef150c8ff9d929e9924e9a16d623f107f3868e7 (patch)
tree23ec8caa2c5cbca395c9bed16c2b909fcada1556
parentMerge pull request #512 from a-kenji/invert-asset-installation (diff)
downloadsl0ppij-fef150c8ff9d929e9924e9a16d623f107f3868e7.tar.gz
sl0ppij-fef150c8ff9d929e9924e9a16d623f107f3868e7.tar.xz
sl0ppij-fef150c8ff9d929e9924e9a16d623f107f3868e7.zip
docs(changelog): Invert Asset Installation
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/server/mod.rs2
2 files changed, 2 insertions, 1 deletions
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