projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75595f5
)
Set TMP if alternate /System/tmp exists
author
Andrew DeFaria
<Andrew@DeFaria.com>
Tue, 15 Feb 2022 17:59:53 +0000
(09:59 -0800)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Tue, 15 Feb 2022 17:59:53 +0000
(09:59 -0800)
rc/bash_login
patch
|
blob
|
history
diff --git
a/rc/bash_login
b/rc/bash_login
index
c59c2b7
..
b587baf
100644
(file)
--- 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