Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: search XDG_DATA_DIRS in _setxkbmap completion
- X-seq: zsh-workers 43498
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: TS <debts@xxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: search XDG_DATA_DIRS in _setxkbmap completion
- Date: Wed, 19 Sep 2018 14:29:53 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=wfT9fp 8z50XF1IZHx4GuyZDI0gZQZe0EnCkxbjl4UYo=; b=fwKIwLQPIBIjROET0bDj6j rIAITjVPyTl9l2H5fcqmh4Dghosl/kiLV/JhVQwYTXBNrNgIWEQKTVnmBj1N0prt xViYuwMgBKEQu6/bB24jzFCZA0rB9yvZ4w8J5oTwABXgOOTsmC84HO0UeQrC8lbV +xaOC04Q4M2b+rA50y8ySev1ffJN2cyz5INW5y3z6MuYgwQaQBAY/3fEwK6n5yeX YQJ2FUi1mSMLf3s0xYGxeNMHsl0RuOQG1dcngo011gxEXY4ibY4/+ky5MySrFKrA AXYtlqvsaLGCwkpdj6NSuTPC5rYnQoP4zUmw8d8HSTbOqZAVnEUYxD9DJflc3hPQ ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=wfT9fp 8z50XF1IZHx4GuyZDI0gZQZe0EnCkxbjl4UYo=; b=viyMQUMjzMxpZgSGcgKKlZ y4K2yC0KZUwygTkcI+eTmzr+a8eEfwkrrL+SkN+w+OKvPYSxUuiyx+Mw+10v88t3 d5tOnaH51UtLBnjP6HthaDKyjUvQmxwsCd++0v4HMrHBMx258kFEGWsg/BxFnDG5 GE3u1RstbIBI/HDIsq+/Jm/zRs3BaHUuVSVAQNfFXBS4/x/P/O8xhbrqCEtVtzEA 9mSbC8HiAC+fGZPespJO3VXG7ilrMk6tzV8ZZJv7VLEi3I9pLIN4cBfq+jykTB1D rpHOigPCmcV03MG7JR2m2c+qxzMAbNynynN0AbBPQZRnZ5k13i66di77+19CILOQ ==
- In-reply-to: <8b957638-8f81-f000-85cb-19aa6a05de75@xk2c.de>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author