summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 025ed2d0724dc438c4e79ba35a29f9369501004c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# RC: [RUNCOM](https://en.wikipedia.org/wiki/RUNCOM)

## Installation

### Prerequisites

- stow
- homebrew (on MacOS)

### Essentials

```bash
git clone https://git.sr.ht/~a14m/.rc ~/.rc

rm -f ~/.bash_profile
cd ~/.rc
stow --no-folding --adopt .
git restore .
git remote set-url origin [email protected]:~a14m/.rc

ln -sf ~/.rc/.gnupg/pinentry-wrapper ~/.local/bin/pinentry-wrapper
envsubst < ~/.gnupg/gpg-agent.conf.template > ~/.gnupg/gpg-agent.conf
chmod 0700 ~/.gnupg
gpgconf --kill gpg-agent 2>/dev/null || true
gpg-connect-agent /bye 2>/dev/null || true
```

Extra configurations for different distro families:

- [MacOS](./MacOS.md)<br>
- [Debian](./Debian.md)<br>

### Complementary tools

#### Setup password store

```bash
git clone [email protected]:a14m/.pass ~/.password-store
```

#### [vim](https://git.sr.ht/~a14m/.vim)

```bash
git clone [email protected]:~a14m/.vim ~/.vim
ln -sf ~/.vim/.vimrc ~/.vimrc
vim +PlugInstall
```

#### Git Crypt

```bash
brew install git-crypt
cd ~/.rc
git-crypt unlock
```