My dotfiles...
Two main changes: - avoid 2 additional fork() calls by evaluating \j instead of using $(jobs | wc -l) -> one fork for subshell and another for `wc`. - make the build up of the prompt a bit more modular by using an array to collect the pieces and "sort of" join them in the end. |
||
---|---|---|
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 -