My dotfiles...
Find a file
Fernando Schauenburg 4e29ff39e7 bash: fix LS_COLORS
The solarize script evalss the output of the dircolors(1) but the
LS_COLORS variable gets exported in its environmnent, not the calling
shell where we actually need it so ls(1) and other programs wiill
inherit it.

Therefore, the evaluation of the dircolors(1) output is moved to the
change_bg() function in the shell, so that the LS_COLORS variable is
available to any children of the shell.

The reason why I had missed this is that in most systems I have ls
aliased to exa, which does not care about LS_COLORS and has its own
coloring system. On cygwin, however, exa is not available and I noticed
that the colors were missind; and indeed, on systems with exa the colors
are also missing if I run ls as \ls.
2021-01-05 18:02:40 +01:00
bin bash: fix LS_COLORS 2021-01-05 18:02:40 +01:00
dircolors replace ansible with bootstrap script 2021-01-03 17:24:48 +01:00
files bash: fix LS_COLORS 2021-01-05 18:02:40 +01:00
.gitattributes fix git-crypt filter for ssh config 2020-12-22 22:51:38 +01:00
.gitignore Put all dotfiles into one "stow package" 2019-02-18 23:19:28 +01:00
.key Add git-crypt key 2019-06-20 00:47:49 +02:00
bootstrap vim: replace vim with neovim 2021-01-03 23:37:13 +01:00
README.md update README 2020-12-23 04:16:49 +00:00

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:

  1. Clone the repo.
  2. Play the local.yml ansible playbook.
  3. 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 -