Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: search XDG_DATA_DIRS in _setxkbmap completion



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




Messages sorted by: Reverse Date, Date, Thread, Author