diff --git a/.profile b/.profile index d2e8b86..c908c5b 100644 --- a/.profile +++ b/.profile @@ -2,13 +2,13 @@ . /etc/profile -# if test -z "${XDG_RUNTIME_DIR}"; then -# export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir -# if ! test -d "${XDG_RUNTIME_DIR}"; then -# mkdir "${XDG_RUNTIME_DIR}" -# chmod 0700 "${XDG_RUNTIME_DIR}" -# fi -# fi +if test -z "${XDG_RUNTIME_DIR}"; then + export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir + if ! test -d "${XDG_RUNTIME_DIR}"; then + mkdir "${XDG_RUNTIME_DIR}" + chmod 0700 "${XDG_RUNTIME_DIR}" + fi +fi export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/go/bin:$PATH"