📃 A single configuration file for .bash_profile and .gitconfig.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Niklas Rosenstein e096ce484e
(nr.dotconfig) bump version to 0.0.6
2 months ago
src (nr.dotconfig) bump version to 0.0.6 2 months ago
.gitignore add .gitignore, fix dependency 2 months ago
CHANGELOG.md allow passing a URL to the CLI 2 months ago
README.md initial commit 2 months ago
package.yaml (nr.dotconfig) bump version to 0.0.6 2 months ago
setup.py fix setup.py with shore update on shore-release-tool 0.0.9 2 months ago

README.md

dotconfig

A single configuration file for .bash_profile and .gitconfig.

$ pipx install nr.dotconfig
$ dotconfig dotconfig.yaml -u
Writing /home/me/.bash_profile
Writing /home/me/.gitconfig

Example

My own dotconfig can be found here. An further example below shows how another config file can be taken as a basis for another (eg. to add work related settings on top of a personal configuration).

base: https://git.niklasrosenstein.com/NiklasRosenstein/dotconfig-files/raw/branch/master/dotconfig.yaml
profile:
  blocks:
    work-functions: |
      function do-all-my-work() {
        # it's a secret
      }
gitconfig:
  user:
    email: my-work-mail@work.com
    signingkey: WORKSIGNINKEYID
  Profile.user: '{{base.gitconfig.user}}'

Copyright 2020 © Niklas Rosenstein