lab icon indicating copy to clipboard operation
lab copied to clipboard

hierarchical config places

Open strowi opened this issue 3 years ago • 0 comments

Hi,

i saw it is already possible to use worktree/user specific places. But what about real hierachical search order? E.g. for .gitconfig it is possible to use sth. like to have the config used recursively (instead of adding it to every .git/lab/lab.toml

[includeIf "gitdir:~/src/private/**"]
    path = ~/src/private/.gitconfig

[includeIf "gitdir:~/src/ck/**"]
    path = ~/src/ck/.gitconfig

This would reduce the cost from adding the config to every repository to once per sub-directory if you have e.g. a private and company folder.

kind regards, strowi

strowi avatar Apr 05 '22 14:04 strowi