My dotfiles...
Previously we only checked if the new directory was already in the PATH and, if yes, didn't prepend it. This can cause the new directory to be in an unexpected position. Now we first remove any occurrences of the new directory (to prevent duplication) and prepend it so it's in the position we expect. |
||
---|---|---|
dotfiles | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.key | ||
README.md |
Prerequisites
- stow: for symlinking the dotfiles into the home directory.
- git-crypt: for handling sensitive data in the repo.
- gpg: for decrypting the key used by
git-crypt
.
Installation
Steps:
- Clone the repo.
- Stow the files into home dir.
- Decrypt key & initialize git-crypt to access sensitive data.
Cookbook:
cd $HOME
git clone git@git.schauenburg.me:fernando/dotfiles.git .dotfiles
cd .dotfiles
stow -v --no-folding dotfiles
gpg -d --output - <(base64 -d .key) | git crypt unlock -