diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-05-11 11:13:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 11:13:13 +0200 |
commit | 8bb476457e97095ff3976adacf3362c9e9f0d86f (patch) | |
tree | 14c757c22920e56c65ca233a413acea0b54f4694 | |
parent | 20dcb3f4ca0d18a44cf3fb19cc19e130d8c2f988 (diff) | |
parent | 4b3969996481479976ccdc2d5ce99a655f11b525 (diff) |
Merge pull request #487 from a-kenji/mac-configv0.9.0
Fix Max Config Directory
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | src/common/setup.rs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fdf304f6..082bf7b54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * Terminal compatibility: fix support for CSI subparameters (https://github.com/zellij-org/zellij/pull/469) * Move the sync command to tab mode (https://github.com/zellij-org/zellij/pull/412) * Fix exit code of `dump-default-config` (https://github.com/zellij-org/zellij/pull/480) -* Feature: Switch tabs using `Alt + h/l` in normal mode if there are no panes in the direction (https://github.com/zellij-org/zellij/pull/471) +* Feature: Switch tabs using `Alt + h/l` in normal mode if there are no panes in the direction (https://github.com/zellij-org/zellij/pull/471) * Terminal Compatibility: various behaviour fixes (https://github.com/zellij-org/zellij/pull/486) +* Fix handling of `$HOME` `config` directory, especially relevant for darwin systems (https://github.com/zellij-org/zellij/pull/487) + ## [0.8.0] - 2021-05-07 * Terminal compatibility: pass vttest 8 (https://github.com/zellij-org/zellij/pull/461) diff --git a/src/common/setup.rs b/src/common/setup.rs index 2eceba184..eb3fdb8ee 100644 --- a/src/common/setup.rs +++ b/src/common/setup.rs @@ -4,7 +4,7 @@ use directories_next::{BaseDirs, ProjectDirs}; use std::io::Write; use std::{fs, path::Path, path::PathBuf}; -const CONFIG_LOCATION: &str = "/.config/zellij"; +const CONFIG_LOCATION: &str = ".config/zellij"; #[macro_export] macro_rules! asset_map { |