msprev / fzf-bibtex

a BibTeX source for fzf
BSD 3-Clause "New" or "Revised" License
129 stars 15 forks source link

feature: autolocate `.bib` file #2

Closed eyJhb closed 5 years ago

eyJhb commented 5 years ago

Would it be possible to automatically locate the .bib file instead, of having to manually specify the path? Currently I work on multiple reports, where each has its own .bib file..

msprev commented 5 years ago

I think that the best solution would be to write a wrapper script around it that feeds the right .bib file to the commands, or set the environment variable dynamically.