From c5e829f19b4b6f92d2e58803af360687effafe5a Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Tue, 15 Feb 2022 09:59:53 -0800 Subject: [PATCH] Set TMP if alternate /System/tmp exists --- rc/bash_login | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rc/bash_login b/rc/bash_login index c59c2b7..b587baf 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -324,8 +324,13 @@ done set_prompt # Set display to local - export DISPLAY=${DISPLAY:-:0} + +# New tmp location +if [ -d /System/tmp ]; then + export TMP=/System/tmp +fi + # Reset home in case it changed HOME=$saved_home -- 2.17.1