Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: please conform to the xdg base directory specification
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 <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author