jldugger / dotfiles

homedir management repo
3 stars 1 forks source link

break out gitconfig into smaller reusable files via includes #16

Closed jldugger closed 7 years ago

jldugger commented 7 years ago

You can include one config file from another by setting the special include.path variable to the name of the file to be included. The included file is expanded immediately, as if its contents had been found at the location of the include directive. If the value of the include.path variable is a relative path, the path is considered to be relative to the configuration file in which the include directive was found. The value of include.path is subject to tilde expansion: ~/ is expanded to the value of $HOME, and ~user/ to the specified user’s home directory.

jldugger commented 7 years ago

Done, but sadly, you cannot include all files in a subdir.