From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43501-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id ab0ab119 for ; Wed, 19 Sep 2018 19:53:43 +0000 (UTC) Received: (qmail 29074 invoked by alias); 19 Sep 2018 19:53:33 -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: List-Unsubscribe: X-Seq: 43501 Received: (qmail 8333 invoked by uid 1010); 19 Sep 2018 19:53:33 -0000 X-Qmail-Scanner-Diagnostics: from www138.your-server.de by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(88.198.28.7):SA:0(-2.6/5.0):. Processed in 2.32381 secs); 19 Sep 2018 19:53:33 -0000 X-Envelope-From: debts@xk2c.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Subject: Re: PATCH: search XDG_DATA_DIRS in _setxkbmap completion To: Daniel Shahaf , Zsh hackers list References: <8b957638-8f81-f000-85cb-19aa6a05de75@xk2c.de> <1537367393.3304750.1513534312.5F429C70@webmail.messagingengine.com> From: TS Message-ID: <93860902-bb3e-7700-9391-8cbaefe28ef2@xk2c.de> Date: Wed, 19 Sep 2018 21:53:24 +0200 MIME-Version: 1.0 In-Reply-To: <1537367393.3304750.1513534312.5F429C70@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Authenticated-Sender: yup4hing8ed1teph9@Xk2c.de X-Virus-Scanned: Clear (ClamAV 0.100.1/24958/Wed Sep 19 20:58:21 2018) Daniel Shahaf schrieb/wrote: >>> How should empty array elements in XDG_DATA_DIRS be handled? E.g., >>> XDG_DATA_DIRS=/foo:/bar::/baz ? >> >> how about s.th. around the lines of: >> >> tosh ~ % searchdirs=(${^~searchdirs}(N/)) > > Thanks for the suggestion. To be clear, I was mainly asking how the XDG > basedirs spec wants empty elements to be treated: as invalid values, or > as aliases to the current working directory, or to the root directory, etc. https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html nothing really clear about that. kind regards, Thilo