This is a collection of my personal dotfiles for my Magic Shellbook. See more about the Magic Shellbook here.
./install.sh
If the location of the dotfiles is not the default ~/.dotfiles
, then update the DOTFILES_DIR
variable in .pam_environment
to the correct location.
- Fork this repo
- Edit the files in the
dotfiles
directory a.⚠️ Ensure to modify the git config to your own name and email - Update the
install.sh
script to copy the files to the correct location - Use with
./install.sh
or The Magic Shellbook
Given that Ansible is being used, you may wonder why I didn't use Jinja2 templates directly in Ansible. While that is an option, by keeping the dotfiles in a separate repo and in a "live" state, if and when the dotfiles need to be updated, the changes can be made in production and then pushed back to the repo. This also makes the Ansible playbooks much simpler, as it ignores configuration.