My dotfiles...
Find a file
Fernando Schauenburg 3c6d6c695b Improve colorized man
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
2019-10-30 19:54:29 +01:00
dotfiles Improve colorized man 2019-10-30 19:54:29 +01:00
.gitattributes Add ssh configuration 2019-06-19 23:18:35 +02:00
.gitignore Put all dotfiles into one "stow package" 2019-02-18 23:19:28 +01:00
.gitmodules [vim] use standard Unicode in statusline (airline) 2017-02-05 19:36:30 +01:00
.key Add git-crypt key 2019-06-20 00:47:49 +02:00
README.md Add git-crypt key 2019-06-20 00:47:49 +02:00

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:

  1. Clone the repo.
  2. Stow the files into home dir.
  3. 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 -