From 2ef552b4d0e90fade4cc0506163b7f459c35640d Mon Sep 17 00:00:00 2001 From: zhujun Date: Fri, 1 Nov 2019 13:37:18 +0800 Subject: [PATCH] tmux: clear __NIX_DARWIN_SET_ENVIRONMENT_DONE This is necessary to allow shell sessions inside tmux having a chance to set environment properly --- modules/programs/tmux.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix index f3e30957..d11f016c 100644 --- a/modules/programs/tmux.nix +++ b/modules/programs/tmux.nix @@ -18,6 +18,7 @@ let --set __ETC_ZPROFILE_SOURCED "" \ --set __ETC_ZSHENV_SOURCED "" \ --set __ETC_ZSHRC_SOURCED "" \ + --set __NIX_DARWIN_SET_ENVIRONMENT_DONE "" \ --add-flags -f --add-flags /etc/tmux.conf '';