summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorzhujun <zhujun@taobao.com>2019-11-01 13:37:18 +0800
committerzhujun <zhujun@taobao.com>2019-11-01 13:37:18 +0800
commit2ef552b4d0e90fade4cc0506163b7f459c35640d (patch)
tree67965b00d03c86b80b9bc141537fb73532117954 /modules
parentda52dc006c42e25757f7b2f4aac398cf448a389d (diff)
tmux: clear __NIX_DARWIN_SET_ENVIRONMENT_DONE
This is necessary to allow shell sessions inside tmux having a chance to set environment properly
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/tmux.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix
index f3e3095..d11f016 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
'';