zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: TS <debts@xk2c.de>, Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: search XDG_DATA_DIRS in _setxkbmap completion
Date: Wed, 19 Sep 2018 14:29:53 +0000	[thread overview]
Message-ID: <1537367393.3304750.1513534312.5F429C70@webmail.messagingengine.com> (raw)
In-Reply-To: <8b957638-8f81-f000-85cb-19aa6a05de75@xk2c.de>

> > 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.

As I said in my other reply, if we can't easily find the answer I'd be
happy to commit the patch with its current behaviour.

Cheers,

Daniel

  reply	other threads:[~2018-09-19 14:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19  4:53 TS
2018-09-19 14:29 ` Daniel Shahaf [this message]
2018-09-19 19:53   ` TS
  -- strict thread matches above, loose matches on Subject: below --
2018-09-18 12:49 Maximilian Bosch
2018-09-18 16:10 ` Daniel Shahaf
2018-09-18 19:05   ` Maximilian Bosch
2018-09-18 19:32     ` Daniel Shahaf
2018-09-19 20:36       ` Maximilian Bosch
2018-09-19 21:30         ` Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537367393.3304750.1513534312.5F429C70@webmail.messagingengine.com \
    --to=d.s@daniel.shahaf.name \
    --cc=debts@xk2c.de \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).