Ability to set `commitPrefixes` for all project submodules
Is your feature request related to a problem? Please describe.
At work, I have a large project, that is a repository with multiple (more than 20) submodules. With each repository, I need to include a commit prefix with the ticket number, which I deduce from the branch name using lazygit commitPrefixes functionality. However, the number of submodules is so large, so that I have to specify each one's folder Base name in the lazygit config and using a yml-anchor to avoid repetition. I think, that this workflow could be improved.
Describe the solution you'd like
I would like so that lazygit have commitPrefixes threat configuration keys not as a Base name for the repository full path (i.e. name of the last folder in the path), but as one of the directories, that appear in the full path, so that I can have the same configuration for all the numerous submodules, even which I have not yet discovered due to vastness of the project our team is working on.
Describe alternatives you've considered
commitPrefixes could use a regular expression for matching the repos full path.
related: https://github.com/jesseduffield/lazygit/pull/2247