Skip to main content

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

Release files for nr.dotconfig 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nr.dotconfig 0.0.6
File Size Uploaded
nr.dotconfig-0.0.6.tar.gz 3.7 kB Details

Release files / nr.dotconfig-0.0.6.tar.gz

Download URL nr.dotconfig-0.0.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
984f4494f8647132658f20bfe7b2675484c23d9568666048f09aa821726ffbd1
BLAKE2b-256 checksum
How to use checksums
81f6b9b80de3508904dccdedb8f33b368e8fd9db922bd88696484568151461a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page