From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 409 invoked by alias); 13 Aug 2013 09:24:34 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31652 Received: (qmail 20263 invoked from network); 13 Aug 2013 09:24:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: Thomas Koch Cc: zsh-workers@zsh.org Subject: Re: please conform to the xdg base directory specification In-Reply-To: <201308131033.54673.thomas@koch.ro> (Thomas Koch's message of "Tue, 13 Aug 2013 10:33:54 +0200") References: <201308131033.54673.thomas@koch.ro> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Date: Tue, 13 Aug 2013 11:15:53 +0200 Message-ID: <87siyehrxy.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: NDMwNDQ0 Thomas Koch wrote: > The XDG base directory specification[1][2] says that configuration files should > go in ~/.config/$APPNAME. I know that it's possible to change $ZDOTDIR in /etc > but this would break the zsh configuration for all users that have not moved > their config files. So zsh would need to check both $HOME and $HOME/.config/zsh > for configuration files. I'd see if your login mechanism can't do that for you. With PAM, you should be able to put ZDOTDIR="${HOME}/.config/zsh" into `~/.pam_environment'. So that should also work on a per user basis. See `pam_env(8)' and `pam_env.conf(5)' for details. Regards, Frank