diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-12-09 21:16:09 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-12-09 21:16:09 -0500 |
commit | a74a51b84b1a36a5021531403778bf1be2125676 (patch) | |
tree | 5e85d7e602835df227611d53a3b2663dae76003e /.profile | |
parent | f907157f21addf81c052904287d45ebcd45e3004 (diff) |
quick fixes
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |