From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15068 invoked by alias); 15 Aug 2013 18:55:13 -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: 31656 Received: (qmail 9330 invoked from network); 15 Aug 2013 18:54:58 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 209.85.215.176 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=y3gq62GNJLnpI4EQCFEIiaggaD2IDVWZ9cpux6YfKaM=; b=cMittNTFpL755MzKt2Hi0Mo1s38vPZGzxQCi5gXEhWQTA9q6oAJM6Ea583Fp1tM4u2 Be1+V3Lt0vU9n1RtK71ORCuzOeZASrf1NNqceFseBXXtAv8BhzMUNuma3SND3qn7EQI0 jHQ/jwMejGsgZ0QW9fmZeZtE5AHlCiXFn4hGU9XlmDgEx+ZV1NZFVnT2jjefbShyoOz2 8/AAuOPd7GUGXr6ZfK4V4EeYZdAMAFtr4NHzgzdEZXAkpxvNXbBQa6bLPDOMvsQPnhe9 G2LDGdWWodEXhKdzHzBrn8TWcNmc7S4Km5tBqkKPC+kP/yUVoyQwcZBKXrqr2xxyzmfs pj9w== X-Gm-Message-State: ALoCoQmOwC0PcEr2TVno1qP+XjjRhIi7VDZCtjFXPlE+2sXlYHvoibJsP4wrymyhezHQsbDSCq3k X-Received: by 10.14.179.4 with SMTP id g4mr738561eem.93.1376592890785; Thu, 15 Aug 2013 11:54:50 -0700 (PDT) X-ProxyUser-IP: 86.6.30.159 Date: Thu, 15 Aug 2013 19:54:47 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: please conform to the xdg base directory specification Message-ID: <20130815195447.3ab675b0@pws-pc.ntlworld.com> In-Reply-To: <87siyehrxy.fsf@ft.bewatermyfriend.org> References: <201308131033.54673.thomas@koch.ro> <87siyehrxy.fsf@ft.bewatermyfriend.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Adding yet more complexity to the initialisation file logic doesn't seem a great idea, but one thing that could keep everything more or less under control would be to make ZDOTDIR a colon-separated array (and make zdotdir an array). This adds a lot of flexibility in a place users would already expect to find it. The only disadvantage I can see is if you happen to have a directory with a colon in it, which is unusual and bad for other reasons. We'd need to decide on the rule for multiple directories: use the first found, use the first containing initialisation files, use the first file of each type found by searching through the path... An empty directory would be equivalent to $HOME. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/