My dotfiles...
The previous solution worked fine for coloring the man pages but the display in bash's job control was a disaster: $ man sshd_config # followed by CTRL-z $ jobs [1]+ Stopped env LESS_TERMCAP_so=$(echo -ne"\033[${standout}m") LESS_TERMCAP_md=$(echo -ne "\033[${bold}m") LESS_TERMCAP_us=$(echo -ne "\033[${underline}m") LESS_TERMCAP_se='' LESS_TERMCAP_me='' LESS_TERMCAP_ue='' GROFF_NO_SGR=1 man sshd_config The new solution behaves identically regarding coloring the man pages but the job control information is much more useful: $ man sshd_config # followed by CTRL-z $ jobs [1]+ Stopped man sshd_config |
||
---|---|---|
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 -