News for hackers. Stuff that matters.
Re:Managing dotfiles with GNU Stow by dozzie on Sunday April 17, 2016 @07:23PM (#11516830)
> One of the best zsh tweaks I've done was setting

    ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
Congratulations, you have just broken your zsh configuration. $XDG_CONFIG_HOME may not be set (e.g. when logging with SSH or in console, and even not always in X11).
Re:Managing dotfiles with GNU Stow by dbbolton on Tuesday April 19, 2016 @12:36PM (#11528138)
First off, my shell is not broken. Secondly, my post was highly simplified because obviously I'm not going to include the entirety of every single config file my shell uses. All it takes to avoid this "problem" is a single if-statement, or you can just set the var in /etc/profile or with PAM.

I guess I assumed people would not read my post and then start editing a system-wide shell config file unless they knew what they were doing.

But if someone did manage to "break" their shell this way, recovery would be trivial because they will still be able to login and the shell will still run, they just might not have all of their configs loaded.

Re:Managing dotfiles with GNU Stow by digi_owl on Monday April 18, 2016 @05:24AM (#11518647)
Thats a systemd-ism, iirc.