Skip to main content

A single configuration file for .bash_profile and .gitconfig.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nr.dotconfig-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file nr.dotconfig-0.0.3.tar.gz.

File metadata

  • Download URL: nr.dotconfig-0.0.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using 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.7

File hashes

Hashes for nr.dotconfig-0.0.3.tar.gz
Algorithm Hash digest
SHA256 147df3564b47ec2065e7ccc949c24e9ee1896da5492b153415745c5bb05b1c6a
MD5 bc624cdd930e8a469535f94c02b61db4
BLAKE2b-256 2a614737d44b5c981fc8a054512687413a6f27af9f0ca5158176a27f2fc372a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page