Allow TLDR_PAGES_SOURCE_LOCATION
to contain multiple locations
#188
Labels
TLDR_PAGES_SOURCE_LOCATION
to contain multiple locations
#188
In my work environment, I'm maintaining a fork of
tldr-pages
to add pages that are private and not ever intended to be merged upstream. In order to not have to maintain a fork, I'd be interested in maintaining a sparse replica that only contains the pages are company maintains.I was thinking that the variable could be set as follows:
TLDR_PAGES_SOURCE_LOCATION="https://raw.githubusercontent.com/tldr-pages/tldr/master/pages;https://raw.githubusercontent.com/
big-corp
/tldr/master/pages"
or
TLDR_PAGES_SOURCE_LOCATION="https://raw.githubusercontent.com/tldr-pages/tldr/master/pages;${HOME}/.tldr/pages
In the above
${HOME}/.tldr
is a clone ofgithub.com/big-corp/tldr
.For duplicates or conflicts, I can see a few ways of managing:
Curious what people think. I'd be happy to implement this if the maintainers feel like this could be a workable feature.
Here's my
tldr
shim I use:and here's it in action:
The reason why this feature in the client would be useful is to remove the need to maintain a fork of the pages as well as providing a home for the additional pages that's not surrounded my upstream maintained files.
The text was updated successfully, but these errors were encountered: