summaryrefslogtreecommitdiffstatshomepage
path: root/install.conf.yaml
blob: 85e607b3f6f7645eace6f75b18773afc50a7d6e2 (plain)
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
- defaults:
    link:
      create: true
      relink: true
      force: true
    shell:
      quiet: true
      stdin: true

- clean: ["~"]

- shell:
    - command: git submodule update --init --recursive
      description: Installing submodules
    - command: if [ ! -f "${HOME}/.fzf/install" ]; then git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf; fi && yes | ~/.fzf/install --bin
      description: installing fzf
    - command: ./bat/install bat
      description: Installing bat
    - command: ./cheat.sh/install
      description: Installing cheat.sh

- link:
    ~/.bashrc:
    ~/.zshrc:
    ~/.p10k.zsh:
    ~/.gitconfig:
    ~/.ssh/config: ssh/config
    ~/.gnupg/:
      glob: true
      path: gnupg/*.conf

- shell:
    # ISSUE #1 Fails to import key inside of WSL2
    - command: gpg --keyserver hkps://keys.openpgp.org --recv-key 0xC8F6E06F5C8E2634
      description: Getting GPG public key
    - command: gpg --import-ownertrust gnupg/trustfile.txt
      description: Importing GPG trustfile
    - command: if [ -n "${WSL_DISTRO_NAME+1}" ]; then ./wsl.install; fi
      description: Checking for WSL
      stdout: true
      stderr: true