From a116f6e177b3676e7f348844f796facad6810d0f Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 11 May 2021 11:05:17 +0200 Subject: [PATCH] Fix Max Config Directory closes #485 * fixes a regression on the config directory handling on mac --- CHANGELOG.md | 1 + src/common/setup.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19105b76c2..e66a748d9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * 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) +* Fix handling of $HOME `config` direcotry, 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 2eceba1849..eb3fdb8ee7 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 {