{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
This commit is contained in:
Aminda Suomalainen 2026-01-23 09:24:41 +02:00
parent d156060514
commit 1df6994c54
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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