On Fri, Aug 24, 2012 at 7:02 PM, Dave Reisner <d@falconindy.com> wrote:
Still, I guess my point is that we should be testing for the presence of variables before trying to expand them.
if [ -n "$HOME" ] && [ -s "$HOME/.config/locale.conf ]; then
I agree. Will post a new version.
The way XDG_* is set is just messed up. One might hope that one day it will be done better (say by a pam module). Shouldn't need to be part of xorg, it is useful even with no graphical login.
I think other distros might order scripts by number. I've always thought that /etc/profile.d stuff is pretty ridiculous, but it's also roughly par for the course when you're talking about anything involving shell.
Sure, but most of these things are not shell-specific, so I hope something better will come along... -t