dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: cba4a10b82c4e662db9243b3ea31f7711f367964
Parent: 060b60a5e3151e09a58ef0d870c892e5b8fe1aa9
Author: Randy Palamar
Date:   Tue, 31 Dec 2024 20:55:47 -0700

ksh: set & create XDG_RUNTIME_DIR at startup

Diffstat:
M.config/ksh/kshenv | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.config/ksh/kshenv b/.config/ksh/kshenv @@ -15,6 +15,10 @@ export XDG_CACHE_HOME=${HOME}/.cache export XDG_CONFIG_HOME=${HOME}/.config export XDG_DATA_HOME=${HOME}/.local/share +if test -z "${XDG_RUNTIME_DIR}"; then + export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXXXXX) +fi + # this is broken and doesn't work properly with netbsd-curses unset TERMINFO_DIRS