bibsearch
bibsearch copied to clipboard
XDG spec for config file location
(from the guidelines here)
The config could be looked up at these standard locations, in order:
-
$XDG_CONFIG_HOME/bibsearch/config
-
$HOME/.config/bibsearch/config
- (current)
$HOME/.bibsearch/config
Similarly, the lastSearch.yaml
, bib.db
, and download_dir
could live in $XDG_DATA_HOME
and/or $XDG_CACHE_HOME
.
Thoughts? If the file lookups are done preferentially, it shouldn't break any existing setups.
I've never heard of this spec; which is not to say that it is wrong, only that this surprises me. If this is a standard I'd be happy to see it in bibsearch. Thoughts, @davvil?
Yes, that's actually the right way to do it. I'll have a go at it.
On Tue, Jun 26, 2018 at 9:01 AM Matt Post [email protected] wrote:
I've never heard of this spec; which is not to say that it is wrong, only that this surprises me. If this is a standard I'd be happy to see it in bibsearch. Thoughts, @davvil https://github.com/davvil?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mjpost/bibsearch/issues/35#issuecomment-400201348, or mute the thread https://github.com/notifications/unsubscribe-auth/AApuRQQ-djinwqccghwbA0PLdXGEByBBks5uAdxIgaJpZM4U1Vnl .
I'm open to work on this as well.
You should do it. It’d be nice to have new contributors.
Sure, I'll tackle this.
How is (is there any) Windows support for bibsearch?
On Mon, Jul 2, 2018, 11:19 AM Matt Post [email protected] wrote:
You should do it. It’d be nice to have new contributors.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mjpost/bibsearch/issues/35#issuecomment-401858273, or mute the thread https://github.com/notifications/unsubscribe-auth/AC1CAKx_QU05XMwgZrQbqClKXF9j02pVks5uCkghgaJpZM4U1Vnl .
I have not tried it on Windows.