My dotfiles...
Instead of wrapping man (1), I just export the LESS_TERMCAP_* variables into the environment. This achieves the same thing as the wrapper script, with the added benefit that less (1) will use the configured colors in any of its invocations, not only via the wrapper script. |
||
---|---|---|
bin | ||
files | ||
.gitattributes | ||
.gitignore | ||
.key | ||
bootstrap | ||
README.md |
Prerequisites
Only ansible is required for installing the dotfiles.
NOTE: git-crypt and gpg are needed to decrypt sensitive information in the repository, but these are installed by the ansible playbook.
Install ansible on Linux
sudo apt install -y ansible
Install ansible on macOS
brew install ansible
Installation
Steps:
- Clone the repo.
- Play the
local.yml
ansible playbook. - Decrypt key & initialize git-crypt to access sensitive data.
Gimme the code:
git clone https://git.schauenburg.me/fernando/dotfiles.git $HOME/.dotfiles
cd $HOME/.dotfiles
ansible-playbook local.yml
gpg -d --output - <(base64 -d .key) | git crypt unlock -