summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile11
1 files changed, 3 insertions, 8 deletions
diff --git a/.profile b/.profile
index d37e858..f394fbd 100644
--- a/.profile
+++ b/.profile
@@ -25,13 +25,6 @@ done
# Settings ###########################################################
-# TMPDIR
-if [ -d "$HOME/tmp" ]; then
- export TMPDIR="$HOME/tmp"
-elif [ -d "$HOME/.prefix/tmp" ]; then
- export TMPDIR="$HOME/.prefix/tmp"
-fi
-
# Text editor
if [ -f "$HOME/.selected_editor" ]; then
. "$HOME/.selected_editor"
@@ -58,7 +51,9 @@ if [ -x "`which alsactl 2>/dev/null`" ]; then
fi
# X11
-export XAUTHORITY=$HOME/.Xauthority
+if [ -z "$XAUTHORITY" ]; then
+ export XAUTHORITY=$HOME/.Xauthority
+fi
# D-Bus
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then