From 78646a7e1d45aeb0ef8582a5bd9f5d2cfefcc43a Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 23 Dec 2025 18:05:18 +0000 Subject: [PATCH] [macos] Add XDG overrides --- macos/.config/shell-common/macos.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macos/.config/shell-common/macos.sh b/macos/.config/shell-common/macos.sh index 837c445..c335cc3 100644 --- a/macos/.config/shell-common/macos.sh +++ b/macos/.config/shell-common/macos.sh @@ -34,3 +34,7 @@ function update-dock() { done < ~/.dotfiles/macos/.config/dotfiles/dockConfig.txt killall Dock } + +# Override XDG cache location for macOS to use the standard Library/Caches directory +export XDG_CACHE_HOME="$HOME/Library/Caches" +export XDG_RUNTIME_DIR="${TMPDIR}runtime-${UID}"