Dear Fellow Developers, Should we move to using XDG-standard directories for Yi, or rather stay with current approach of using ~/.yi for everything except for Dyre (which already uses XDG). Depending on consensus I may also make a patch, that will use XDG-style directories, except that it looks for ~/.yi/yi.hs if ~/.config/yi/yi.hs is not found.
*ethercrow <https://github.com/ethercrow>* *commented<https://github.com/yi-editor/yi/pull/34#issuecomment-7298059> * *a day ago <https://github.com/yi-editor/yi/pull/34#issuecomment-7298059>* Wow, that's a lot! :) I'll test later and right now I wonder why store history in ~/.yi/history and not in ~/.cache/yi/history? ~/.cache/yi directory already exists and seems a logical place for history file. *mgajda <https://github.com/mgajda>* *commented<https://github.com/yi-editor/yi/pull/34#issuecomment-7298814> * *a day ago <https://github.com/yi-editor/yi/pull/34#issuecomment-7298814>* Because now we use old-style per-application directory that provides both config and cache: System.Directory.getUserAppDataDir "yi" [from package "directory".] If there is consensus, that we move to new-style XDG directories, then yes: ~/.yi/yi.hs -> ~/.config/yi/yi.hs ~/.yi/history -> ~/.cache/yi/history That would be separate patch though (and a dependency on xdg-basedir package instead.) May be good idea, since xdg-basedir functions should also work on Windows and Mac. Let me know if there is a consensus about this being good idea :-). -- Best regards Michal -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel