Commit graph

9 commits

Author SHA1 Message Date
a-kenji
d667e5ed81 Add check flag to the setup subcommand
* The check option communicates default and config options to the user
  as well as optional compile time features

* Move generate-completion from a subcommand to a flag in the setup
  subcommand
2021-05-14 11:45:19 +02:00
a-kenji
4134c952f6 Merge branch 'main' of https://github.com/zellij-org/zellij into set-data-dir 2021-05-12 20:03:04 +02:00
a-kenji
ffd8f17a94 Add Complile Time System Directories
closes #380

* --features disable_automatic_asset_installation

disables automatic installation of the `data_dir`

* a set PREFIX env will use `$PREFIX/zellij` as its `data_dir`
2021-05-12 19:51:29 +02:00
a-kenji
1859abbb23 Change Ordering of the Default Config Directories
* since darwin doesn't have distinct data and config
  directories, assumptions that we had were invalid

* now the `HOME` config directory is loaded before the
  system config directory, in this case populating the
  data directory doesn't invalidate possible user configuration,
  because the configuration directory now exists
2021-05-11 13:24:26 +02:00
a-kenji
a116f6e177 Fix Max Config Directory
closes  #485

* fixes a regression on the config directory handling on mac
2021-05-11 11:09:04 +02:00
Kunal Mohan
2446aec82c hotfix(logging): fix atomic_create_file and make set_permissions() return an error 2021-05-07 15:42:00 +05:30
Kunal Mohan
7982636741 explicitly set file and directory permissions 2021-05-06 22:01:27 +05:30
a-kenji
3f3d10e636 Enables the Default Config Test
The split of test/no_test happens now in
find_config_dir, it always returns Null in tests.
That way differing configurations in tests shouldn't
make the test fail anymore.
2021-05-02 18:58:18 +02:00
a-kenji
993a6fdf0a Rename install -> setup
* Renaming of the install module to convey the intent more,
move functions that install to a submodule install of setup.
2021-05-02 15:59:02 +02:00
Renamed from src/common/install.rs (Browse further)