From a74a51b84b1a36a5021531403778bf1be2125676 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 9 Dec 2023 21:16:09 -0500 Subject: quick fixes --- .profile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.profile') diff --git a/.profile b/.profile index 6123bc4..4f6edba 100644 --- a/.profile +++ b/.profile @@ -21,6 +21,7 @@ export XDG_CONFIG_HOME=$HOME/.config export XDG_DATA_HOME=$HOME/.local/share export R_PROFILE_USER=$HOME/.config/R/Rprofile export ZDOTDIR=$HOME/.config/zsh +export TEXMFHOME=$XDG_DATA_HOME/texmf # Applications export EDITOR=$(which nvim) @@ -43,6 +44,11 @@ export LESS_TERMCAP_ue=$'\e[0m' # end underline shortcutgen aliasgen +# Ensure XDG_RUNTIME_DIR is set +if test -z "$XDG_RUNTIME_DIR"; then + export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX) +fi + # Start Desktop Environment if on the main TTY if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then startx -- cgit v1.2.3