From 1df6994c54fc60126b1659e2be39e9ea86d11064 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 23 Jan 2026 09:24:41 +0200 Subject: [PATCH] {bash,zsh}rc: xdg-user-dirs is not universal I accidentally noticed this with toolbox and created Arch, Fedora, Ubuntu just to test it and only Ubuntu had it. I hope that means Debian does too --- rc/bashrc | 3 +++ rc/zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rc/bashrc b/rc/bashrc index b8425dcf..a5c65696 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -1035,7 +1035,10 @@ fi # Note if my xdg runtime dir setting is broken. if ! hash xdg-user-dir 2> /dev/null; then + echo "!!!" echo "WARNING! xdg-user-dir not found." + echo "Install package xdg-user-dirs on Arch, Fedora." + echo "" fi # vim: filetype=bash diff --git a/rc/zshrc b/rc/zshrc index 4eaeba1f..a20dc928 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -1027,7 +1027,10 @@ fi # Note if my xdg runtime dir setting is broken. if ! hash xdg-user-dir 2> /dev/null; then + echo "!!!" echo "WARNING! xdg-user-dir not found." + echo "Install package xdg-user-dirs on Arch, Fedora." + echo "" fi # vim: filetype=zsh