aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/export.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index dcc16b9..e0bdf6d 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -1,5 +1,5 @@
# use xterm-color anywhere. Sane default for color and termite
-if [[ -n $TMUX ]];then
+if [[ -n $TMUX ]] && [[ $VENDOR != "apple" ]];then
export TERM="tmux-256color"
elif [[ -n $STY ]];then
export TERM="screen-256color"
@@ -58,7 +58,7 @@ export GPG_AGENT_INFO=""
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# tmux
-if [[ $UID -ne 0 ]]; then
+if [[ $UID -ne 0 ]] && [[ $VENDOR != "apple" ]]; then
export TMUX_TMPDIR="$XDG_RUNTIME_DIR/"
fi