aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/config.rs (follow)
Commit message (Collapse)AuthorAge
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16
|
* Add `check` flag to the setup subcommanda-kenji2021-05-14
| | | | | | | | * 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
* !fixup Add Option for Simplified Layouta-kenji2021-05-10
| | | | * fix test
* Add Option for Simplified Layouta-kenji2021-05-10
| | | | | | | | | | | | | * the simplified layout omits the Nerdfonts characters that are not found in every Fontset * add an optional config option to opt into the simplified ui `simplified_ui: bool` * add a config flag that allows opting into the simplified ui `zellij options --simplified-ui` * move the `clean` flag to the `setup` subcommand
* Enables the Default Config Testa-kenji2021-05-02
| | | | | | | 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.
* Merge pull request #433 from a-kenji/disable-default-config-testa-kenji2021-05-02
|\ | | | | Disable Default Config Test
| * Disable Default Config Testa-kenji2021-05-02
| | | | | | | | | | For now, it fails if there is a local config, differing from the default config.
* | Rename install -> setupa-kenji2021-05-02
|/ | | | | * Renaming of the install module to convey the intent more, move functions that install to a submodule install of setup.
* Load config before start()Yutaka Kamei2021-05-02
| | | | | | | | | | | | | | | | | | | | | Previously, a config file was loaded within `start()`, and if the config file is invalid, Zellij was supposed to show a user what's wrong with it. However, since `start()` starts setting up its terminal with an alternative screen buffer, neither standard output nor standard error could display such an error. This change intends to address this issue by making Zellij load a config file before `start()`. In addition, the patch also includes some refactorings: * Redefine `from_cli_config` with `TryFrom`, which was introduced in Rust 1.34 * Remove conditional declaration `cfg(not(test))` because `start()` now receive a `Config` as the third argument * Introduce [`tempfile`](https://crates.io/crates/tempfile) in order to run tests with actual files * Typo?: "Deserialisation" -> "Deserialization"
* Config Loadinga-kenji2021-04-27
| | | | | | | | | | | | | | | * Configuration is now handled in this order: --config flag ZELLIJ_CONFIG_FILE env get_default_config_dir() (directories-next) HOME/.config/zellij (for mac convenience) SYSTEM_DEFAULT_CONFIG_DIR (for distributions to specify sensible defaults ontop of zellij) from assets * Fix default.yaml file * Move default.yaml file to assets directory
* Chore(Rustfmt)a-kenji2021-04-21
|
* Change Config To Flag (#290)a-kenji2021-04-21
| | | | | | | | | | | | | | This changes the `config` subcommand to a config flag. Add option subcommand for now, for the clearing of default path. Add `ZELLIJ_CONFIG` environment variable. The configuration locations are now as follows: * `--config` flag * `ZELLIJ_CONFIG` environment variable * default config location in that order.
* fix(clippy): get ci passing againBrooks J Rady2021-04-13
|
* Use Default Configuration for Testsa-kenji2021-04-04
| | | | | | Uses the default configuration for tests, in order to not mess up test cases with different configurations in the config file.
* (Chore): rustfmta-kenji2021-03-26
|
* Fix testsa-kenji2021-03-26
|
* Fix config default locationa-kenji2021-03-26
| | | | The default location is now correctly used again
* Move test to /unita-kenji2021-03-17
|
* Add a clean config optiona-kenji2021-03-17
| | | | | | Add a clean config option, which makes zellij not look for a default configuration file.
* Remove logging to log.txta-kenji2021-03-16
|
* Add example config file.a-kenji2021-03-12