home/zed: unset TMUX_PANE in terminal

This commit is contained in:
2025-03-27 14:21:21 +01:00
parent 67f257c027
commit 1307e2908e

View File

@@ -142,4 +142,10 @@
hash = "sha256-mlEcgnLStYH1pV3p1iqNSvfVu4MpvpEOc+vxI+90MJs=";
};
in "${package}/themes/monokai.json";
programs.zsh.initExtra = ''
if [[ "$ZED_TERM" == "true" && -n "$TMUX_PANE" ]]; then
unset TMUX_PANE
fi
'';
}