Merge pull request #488 from a-kenji/darwin-config-dir
Change Ordering of the Default Config Directories
This commit is contained in:
commit
7d553bbeba
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
* Change Switch default config loading order of `HOME` and system (https://github.com/zellij-org/zellij/pull/488)
|
||||||
|
|
||||||
## [0.9.0] - 2021-05-11
|
## [0.9.0] - 2021-05-11
|
||||||
* Add more functionality to unbinding the default keybindings (https://github.com/zellij-org/zellij/pull/468)
|
* Add more functionality to unbinding the default keybindings (https://github.com/zellij-org/zellij/pull/468)
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,8 @@ pub mod install {
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
pub fn find_default_config_dir() -> Option<PathBuf> {
|
pub fn find_default_config_dir() -> Option<PathBuf> {
|
||||||
vec![
|
vec![
|
||||||
Some(xdg_config_dir()),
|
|
||||||
home_config_dir(),
|
home_config_dir(),
|
||||||
|
Some(xdg_config_dir()),
|
||||||
Some(Path::new(SYSTEM_DEFAULT_CONFIG_DIR).to_path_buf()),
|
Some(Path::new(SYSTEM_DEFAULT_CONFIG_DIR).to_path_buf()),
|
||||||
]
|
]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue