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.1.tar.gz
(1.8 kB
view hashes)